Summarize provides a web interface to TextTeaser for summarizing documents.
Summarize requires Flask. You also need to install the libraries required by TextTeaser.
To start the summarize server, set the FLASK_APP
environment variable and start Flask. The command below tells Flask to reload the application whenever you make changes to the code and to accept requests from any hosts.
> export FLASK_APP=summarize.py
> flask run --reload --host 0.0.0.0
To run the client, open a browser at http://localhost:5000/summarize.
This code is released under an MIT License.