Skip to content

sereprz/autosummary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autosummary

A simple algorithm for summarising the content of web pages

Extraction based summarisation

Words in the text are projected in a vector space using word2vec trained on the brown corpus in nltk. Then the meaning of sentences is captured as the mean of the individual term vectors. The text is then represented as a fully connected weighted graph where sentences are nodes and edges between them are assigned a weight equal to the cosine distance between the sentence's vectors.

Each sentence is assigned an individual score given by the sum of distances from each other sentence in the text.

The final summary is built by ranking the sentences according to their final score and using the top 20%

TODO

  • text as input
  • input percentage of text to keep (slider)
  • train word2vec from scratch
  • improve parser
  • code TextRank

About

Automatic summarisation of web pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published