Skip to content

A comparative text summariser (NLTK and Gensim) implemented in Flask

License

Notifications You must be signed in to change notification settings

erinzhangyj/Comparative-Text-Summariser-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comparative-Text-Summariser-API

Introduction

A comparative extractive text summariser implemented in Flask and styled with Bulma CSS. The API will parse text from a webpage and prepare two sets of summaries using the NLTK and Gensim libraries for comparative purposes.

Implementation

Project Structure

|───static/
│   ├── bulma-0.9.0
│      ├── bulma.sass
│      ├── css
│      ├── sass
|───summariser/
│   ├── __init.py__
│   ├── gensim_summariser.py__
│   ├── nltk_summariser.py__
|───templates/
│   ├── base.html__
│   ├── index.html__
│   ├── results.html__
|───app.py
|───requirements.txt

Initialise Repository

1. Download or clone this repository

You can either manually download this repository, or clone it with:

$ git clone https://github.com/erinzhangyj/Comparative-Text-Summariser-API.git
$ cd Comparative-Text-Summariser-API
2. Initialise and activate a virtualenv
$ virtualenv --no-site-packages env
$ source env/bin/activate
3. Install the dependencies
$ pip install -r requirements.txt
4. Run app.py in your development environment
$ python app.py

App Screenshots

1. Home page

Home Page

2. Results page

Results Page

About

A comparative text summariser (NLTK and Gensim) implemented in Flask

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published