Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 594 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 594 Bytes

python-text-summarizer

A small package with no dependenices that summaries texts from news sources and articles.

TODO

  1. Change the parsing function so that Mr., Mrs. and similar words are not considered end of a sentence
  2. Weigh different words differently based on category. For example, political article should give more emphasis on political words.

USAGE

  1. Current pip version is not available.
  2. Put the summarizer in your project folder
  3. from summarizer import summarize
  4. summary = summarize(title, text, no_of_sentences=10) # the default is 5
  5. Details added