miso-belica/sumy

Is it possible to get entire text from link?

aryan1107 opened this issue · 1 comments

For example in newspaper python library you can do article.text for getting entire text.

Any similar command for sumy?

Hi, sumy is not meant as an article parser. It's just a minor feature to ease the article summarization on the web. The algorithm is far from perfect and uses breadability. You should use the library for the text extraction as newspaper, justText or alternatives in its readme.

But if you really want you can do this to get the full article from the parser: " ".join(map(str, parser.document.sentences)).