Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (26 sloc) 1.71 KB

A python script for summarizing articles using nltk.


  • python2.7 / python 3
  • nltk (if using Python 3, see note below)
  • nltk stopwords corpora (python -c 'import nltk;"stopwords")')
  • bs4 (only for opening urls)
  • requests (only for opening urls)


git clone

Usage from code:

# sudo python install
# then
import summarize

Python 3 Support Notes:

To use NLTK with Python 3 currently, you must install the NLTK 3.0 alpha packages available at All other libraries required by have Python 3 versions.


$ python3 ""
FBI can remotely activate Android and laptop microphones, reports WSJ | The Verge -

Remotely activated cell phone bugs predate iOS and Android
What's new, according to several former anonymous officials, is a dedicated FBI group which regularly hacks into computers, using both custom and off-the-shelf surveillance software which it buys from private companies.
While that source also claims the FBI takes care to make sure that only "relevant data" gets collected, it's still a little troubling to know that such a thing is easily possible and regularly done.