Skip to content

michigan-com/summarizer

 
 

Repository files navigation

Summarizer Build Status

Summarizer is an automatic summarization algorithm.

Requirements

  • Python 2.7, 3.3, 3.4, or 3.5
  • NLTK

Install it

pip install summarizer

Use it

from summarizer import summarize
summarize(title, text)

Documentation

Summarizer.summarize(title, text, count=5, summarizer=Summarizer())

  • title: The title of the article
  • text: The actual text of the article
  • count: The number of summarized sentences to return
  • summarizer: The class instance that will do all the work

Contributing

All contributions must be accompanied by some form of unit testing

About

Python text summarizer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%