Skip to content

Commit

Permalink
Update README file with working URL to Wikipedia
Browse files Browse the repository at this point in the history
  • Loading branch information
miso-belica committed May 19, 2019
1 parent 6a08532 commit 8b81d41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ from sumy.nlp.stemmers import Stemmer
from sumy.utils import get_stop_words


LANGUAGE = "czech"
LANGUAGE = "english"
SENTENCES_COUNT = 10


if __name__ == "__main__":
url = "http://www.zsstritezuct.estranky.cz/clanky/predmety/cteni/jak-naucit-dite-spravne-cist.html"
url = "https://en.wikipedia.org/wiki/Automatic_summarization"
parser = HtmlParser.from_url(url, Tokenizer(LANGUAGE))
# or for plain text files
# parser = PlaintextParser.from_file("document.txt", Tokenizer(LANGUAGE))
Expand Down

0 comments on commit 8b81d41

Please sign in to comment.