How it chooses
TextRank, a method published in 2004, told in plain words.
What is a key point here?
A sentence of your own text that the rest of the text keeps returning to.
The paper calls the task sentence extraction. No new sentence is ever written. source
How does a sentence get its score?
Which sentences are taken?
The highest, as many as you ask for, in the order of your text.
The paper sorts the sentences by score and takes the top ones. source
One rule is ours: a sentence that repeats a chosen point, sharing over half of its carrying words, is passed over.
Does it do what the paper does?
On the paper’s own example it chooses the same four lines.
The paper prints an article line by line and names the lines its method takes: 9, 15, 16 and 18. source
This page’s code is run on those lines before every release. It must choose the same four.
How is a text cut into sentences?
At full stops, question marks, exclamation marks and the Hindi full stop.
“Dr.”, an initial, “Rs. 500” and “2 a.m. Sunday” do not end a sentence.
Lines broken by a PDF or an e-mail are joined again. Headings and list items stand alone.
What does it get wrong?
It favours what is said often and can miss what is said once.
It needs no grammar and no training on a language, which is why it runs in a browser. source
It reads up to 3,000 sentences at a time.