Skip to content

Commit

Permalink
examples with Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
tsptoni committed Nov 23, 2017
1 parent 488e4e1 commit b28626e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
================
summa - textrank
================
=================
summa - textrank3
=================

TextRank_ implementation for text summarization and keyword extraction in Python. An online version can be tested `here <http://104.131.76.203>`_.

Expand Down Expand Up @@ -28,7 +28,7 @@ Text summarization::
is search engines such as Google. Document summarization is another."""

>>> from summa import summarizer
>>> print summarizer.summarize(text)
>>> print(summarizer.summarize(text))
'Automatic summarization is the process of reducing a text document with a computer
program in order to create a summary that retains the most important points of the
original document.'
Expand All @@ -37,7 +37,7 @@ Text summarization::
Keyword extraction::

>>> from summa import keywords
>>> print keywords.keywords(text)
>>> print(keywords.keywords(text))
document
automatic summarization
technologies
Expand Down

0 comments on commit b28626e

Please sign in to comment.