summarize

by thavelick

thavelick / summarize

A python library for simple text summarization

211 Stars 63 Forks Last release: Not found Other 11 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

summarize

A python library for simple text summarization

Installation

First install nltk and numpy:

sudo pip install nltk
sudo pip install numpy

Then install the punkt and stopwords nltk packages:

sudo python -m nltk.downloader -d /usr/share/nltk_data punkt
sudo python -m nltk.downloader -d /usr/share/nltk_data stopwords

Then, run the tests:

python run-tests.py

If nothing is output, you're good to go!

Examples

See

test/summarize.doctest
for a few simple usage examples

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.