Skip to content

Commit

Permalink
Update README with more examples and fix shell instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
vgel committed Mar 27, 2014
1 parent f08361a commit 98d5e3f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,16 @@ A python script for summarizing articles using nltk.
## Usage:

git clone https://github.com/Rotten194/summarize.py.git
cd summarize.py
cd summarize.py/summarize
./summarize.py http://www.washingtonpost.com/blogs/the-switch/wp/2013/08/01/how-vermont-could-save-the-nation-from-patent-trolls/

Usage from code:

# sudo python setup.py install
# then
import summarize
summarize.summarize_text(large_text)

## Python 3 Support Notes:

To use NLTK with Python 3 currently, you must install the NLTK 3.0 alpha packages available at [nltk.org](http://www.nltk.org/nltk3-alpha). All other libraries required by summarize.py have Python 3 versions.
Expand Down

0 comments on commit 98d5e3f

Please sign in to comment.