A work-in-progress test summarizer that uses spacy.io.
To get started, install the dependencies:
# A virtualenv is recommended
virtualenv .env
source .env/bin/activate
# Install python libraries
pip install -r requirements.txt
python -m spacy download en
The program takes the text file to summarize and the number of sentences to include in the summary:
# Reads and summarizes document.txt in 3 sentences
python main.py document.txt 3
- Improve score function