Skip to content

KevinPike/spacy-summary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spacy-summary

A work-in-progress test summarizer that uses spacy.io.

Usage

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

TODO

  • Improve score function

About

Text summarization using spacy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages