-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsummary-tool-under-javascript.html
More file actions
65 lines (61 loc) · 3.22 KB
/
summary-tool-under-javascript.html
File metadata and controls
65 lines (61 loc) · 3.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>LifeDebuger stuff | Summary tool under JavaScript</title>
<link rel="shortcut icon" type="image/png" href="/favicon.png">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<link href="/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="LifeDebuger stuff Full RSS Feed" />
<link href="/feeds/js.rss.xml" type="application/rss+xml" rel="alternate" title="LifeDebuger stuff Categories RSS Feed" />
<link rel="stylesheet" href="/theme/css/screen.css" type="text/css" />
<link rel="stylesheet" href="/theme/css/pygments.css" type="text/css" />
<link rel="stylesheet" href="/theme/css/print.css" type="text/css" media="print" />
<meta name="generator" content="Pelican" />
<meta name="keywords" content="JS,JavaScript,Content-summary" />
</head>
<body>
<header>
<nav>
<ul>
<li><a href="">Home</a></li>
</ul>
</nav>
<div class="header_box">
<h1><a href="">LifeDebuger stuff</a></h1>
</div>
</header>
<div id="wrapper">
<div id="content"> <h4 class="date">жов 31, 2014</h4>
<article class="post">
<h2 class="title">
<a href="/summary-tool-under-javascript.html" rel="bookmark" title="Permanent Link to "Summary tool under JavaScript"">Summary tool under JavaScript</a>
</h2>
<p>This algorithm was found in <a href="http://thetokenizer.com/2013/04/28/build-your-own-summary-tool/">the Internet</a>
As at this moment I try to implement add-on for Firefox, and some function I've needed was to summarize web-content.</p>
<p>So the main Idea of the algorithm is to build matrix of mutual sentences intersection which is calculates by counting the same words in two sections and division this count with avarage sentence length in words.</p>
<p>Than we summarize intersactions for every sentence and with this value choise what sentence should be used in summary.</p>
<p>This algorithm I've implemented in javascript, so the source is <a href="http://kostyll.github.io/summary.js/">here</a></p>
<div class="clear"></div>
<div class="info">
<a href="/summary-tool-under-javascript.html">posted at 16:02</a>
· <a href="/category/js.html" rel="tag">JS</a>
·
<a href="/tag/js.html" class="tags">JS</a>
<a href="/tag/javascript.html" class="tags">JavaScript</a>
<a href="/tag/content-summary.html" class="tags">Content-summary</a>
</div>
</article>
<div class="clear"></div>
<footer>
<p>
<a href="https://github.com/jody-frankowski/blue-penguin">Blue Penguin</a> Theme
·
Powered by <a href="http://getpelican.com">Pelican</a>
·
<a href="/feeds/all.rss.xml" rel="alternate">Rss Feed</a>
</footer>
</div>
<div class="clear"></div>
</div>
</body>
</html>