Skip to content

alanbuxton/PyTeaserPython3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTeaserPython3

A fork of PyTeaser updated to work in Python 3.

See Text Summarization in Python for more details on the algorithm.

Usage:

sample command:

>>> from pyteaser import SummarizeUrl
>>> url = 'http://www.huffingtonpost.com/2013/11/22/twitter-forward-secrecy_n_4326599.html'
>>> summaries = SummarizeUrl(url)
>>> print(summaries)

output

["Twitter's move is the latest response from U.S. Internet firms following disclosures by former spy agency contractor Edward Snowden about widespread, classified U.S. government surveillance programs.", '"Since then, it has become clearer and clearer how important that step was to protecting our users\' privacy."', '"A year and a half ago, Twitter was first served completely over HTTPS," the company said in a blog posting.', 'The online messaging service, which began scrambling communications in 2011 using traditional HTTPS encryption, said on Friday it has added an advanced layer of protection for HTTPS known as "forward secrecy."', '(Reuters) - Twitter Inc said it has implemented a security technology that makes it harder to spy on its users and called on other Internet firms to do the same, as Web providers look to thwart spying by government intelligence agencies.']

About

Upgraded PyTeaser to work with Python 3. Read on for details of the experience of doing this upgrade.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%