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.
Check out their Github repo here - 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-firefo...