Difference between revisions of "SMMRY - About"

From Fiamma
Jump to navigationJump to search
(Created page with "{{B| http://smmry.com/about |SMMRY - About (Algo to summarize text) |6 |6 }} {{#set: k=algorithms, algorithm, patterns, programming |+sep=, }} Category: Programming Cat...")
 
 
Line 14: Line 14:
  
  
<blockquote>
+
<pre>
 
1) Associate words with their grammatical counterparts. (e.g. "city" and "cities")
 
1) Associate words with their grammatical counterparts. (e.g. "city" and "cities")
 
2) Calculate the occurrence of each word in the text.
 
2) Calculate the occurrence of each word in the text.
Line 22: Line 22:
 
6) Rank sentences by the sum of their words' points.
 
6) Rank sentences by the sum of their words' points.
 
7) Return X of the most highly ranked sentences in chronological order.
 
7) Return X of the most highly ranked sentences in chronological order.
</blockquote>
+
</pre>

Latest revision as of 16:08, 18 February 2017

http://smmry.com/about
SMMRY - About (Algo to summarize text)

Complexity: 6 Rating: 6



1) Associate words with their grammatical counterparts. (e.g. "city" and "cities")
2) Calculate the occurrence of each word in the text.
3) Assign each word with points depending on their popularity.
4) Detect which periods represent the end of a sentence. (e.g "Mr." does not).
5) Split up the text into individual sentences.
6) Rank sentences by the sum of their words' points.
7) Return X of the most highly ranked sentences in chronological order.