3 ms·
Thanks a lot. Sure, first we create a list of all the individual sentences in the article. Then, we use the TextRank algorithm to rank each of the text sentenc
by radhakrsna 7y ago
Thanks a lot.
Sure, first we create a list of all the individual sentences in the article. Then, we use the TextRank algorithm to rank each of the text sentences. Finally, we select the top 5 most representative sentences from the article.
- dvh 7y agoHow do you create list of sentences from the article? How do you know where article starts and what is just navigation or fluff.
- harias 7y agoFirefox's reader's view is able to do that. Check out their Github repo here - https://github.com/mozilla/readability https://github.com/mozilla/readability >You need at least one <p> tag around the text, you want to see in Reader View and at least 516 characters in 7 words inside the text. Source - https://stackoverflow.com/questions/30661650/how-does-firefox-reader-view-operate https://stackoverflow.com/questions/30661650/how-does-firefo...
- radhakrsna 7y agoHi, We used a python library called newspaper to do it.
- holler 7y agohow does this compare to newspaper's built-in summary feature? What is different?