Skip to content

Hexamagnus/Summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summarizer

This is a simple sanic applications that use 3 major NLP python libraries:

To install freeling please use the official documentation at github, it could be trickie

To verify installation execute

python tests.py

Requires python 3.5

To run server

python app.py

We expose for major services:

  • /summarize: Naive frequency summarization
  • /ner: Name Entity Recognition
  • /syntax: Syntax tree
  • /summarize-posttagger: A more clever frequency summarization

All methods require a x-www-form-urlencoded param called article, and the responses should return an structure similiar to:

{
  "status": <text>, # Verbose description of transaction status
  "article": <text>, # Text to be summarized
  "summary": <text>, # Text summarized
  "frequency": [
    {
      "word": <text>, # Non stop word
      "frequency": <float> # Relative frequency
    }
  ],
  "topics": [
    <text> # Topic 
  ]
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages