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.
|───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
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
$ virtualenv --no-site-packages env
$ source env/bin/activate
$ pip install -r requirements.txt
$ python app.py