-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
327 lines (293 loc) · 14 KB
/
index.html
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
lang="en"
xml:lang="en">
<head>
<title>Word Count Tool</title>
<meta name="description" content="Instantly providing everything you need about word count statistics with an extensive report. Keyword density, readability, case changing utilities are also included. All-In-One Toolbox.">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="google-site-verification" content="KgNjyBEmme9ftnOPFZKj6t1BF_ZHQexfkDaHdwGE5Ks" />
<link type="text/css" href="style.css" rel="stylesheet">
<!--[if lt IE 9]><script type="text/javascript" src="./excanvas.js"></script><![endif]-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script type="text/javascript" src="./jquery.wordstats.min.js"></script>
<script type="text/javascript" src="./jquery.lorem.min.js"></script>
<script type="text/javascript" src="./jquery.tagcanvas.min.js" ></script>
<script type="text/javascript" src="./jquery.wordcounttool.js" ></script>
<script type="text/javascript" src="./script.js"></script>
</head>
<body>
<div id="wrapper">
<div id="banner">
<div id="logo">
<a href="http://wordcounttools.com"><img src="logo.png" alt="Word Count Tool Online" height="60px"/></a>
</div>
<div id="ad">
<!--Google-->
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9633028275213072";
/* WordCountTools */
google_ad_slot = "4125120357";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!--End of Google-->
</div>
</div>
<div class="clear"></div>
<div id="headerContainer">
<div id="brief_summary">
<p id="counter" class="notice">0 words, 0 characters.</p>
</div>
<div id="social">
<!--addons-->
<div id="addons">
<a href="https://addons.mozilla.org/en-US/firefox/addon/word-count-tool">Firefox Add-on</a>
<br/>
<a href="https://chrome.google.com/webstore/detail/word-count-tool/ibjgdahgcdkpdlbkadidojhfddflblcm">Chrome Extension</a>
</div>
<!--End Firefox-->
<!--Facebook-->
<div style="margin:0px 5px; float:left">
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
js.async=true;
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="fb-like" data-href="http://wordcounttools.com" data-send="false" data-layout="box_count" data-width="35" data-show-faces="false"></div>
</div>
<!--End FaceBook-->
<!--Google Plus-->
<div style="margin:0px 5px; float:left">
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
<div class="g-plusone" data-size="tall" href="."></div>
</div>
<!--End Google Plus-->
<!--Twitter-->
<div style="margin:0px 0px; float:left">
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://wordcounttools.com" data-hashtags="wordcounttools" data-count="vertical">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.async=true;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
<!--End Twitter-->
</div>
</div>
<br class="clear">
<div id="mainContent">
<div id="boxContainer" class="box_container">
<div class="header">Please input text into the box to count instantly
<span id="extraOption">
<span id="nonEnglishOption"><input type="checkbox" id="isNotEnglish"/>Non-English text</span>
</span>
</div>
<div id="boxContent">
<div>
<textarea id="textbox" rows="22" cols="90" wrap="virtual"></textarea>
<div id="converter">
<span class="convert"><input type="button" id="toUpperCaseButton" value="UPPER CASE"/></span>
<span class="convert"><input type="button" id="toLowerCaseButton" value="lower case"/></span>
<span class="convert"><input type="button" id="toSentenceCaseButton" value="Sentence case"/></span>
<span class="convert"><input type="button" id="toTitleCaseButton" value="Title Case"/></span>
<span class="convert"><input type="button" id="toToggleCaseButton" value="tOGGLE cASE"/></span>
</div>
<div id="htmlStrip">
<span class="convert"><input type="button" id="htmlStripButton" value="Strip HTML"/></span>
<span class="convert"><input type="button" id="clearTextButton" value="Clear"/></span>
<span class="convert"><input type="button" id="undoButton" value="Undo"></span>
</div>
</div>
</div>
</div>
<div id="statistics" class="box_container">
<div class="header">Word Count Statistics
</div>
<div id="stats">
<div class="stat">
<span class="stat_label"><label>Number of words </label></span>
<span class="stat_con notice"><label id="num_word"> </label></span>
</div>
<div class="stat">
<span class="stat_label"><label>Number of characters </label></span>
<span class="stat_con notice"><label id="num_character"> </label></span>
</div>
<div class="stat">
<span class="stat_label"><label>Number of Difficult Words </label></span>
<span class="stat_con notice"><label id="num_difficult_word"> </label></span>
</div>
<div class="stat" id="unique_word_container">
<span class="stat_label"><label>Unique Words </label></span>
<span class="stat_con notice"><label id="num_unique_word"> </label></span>
</div>
<div class="stat">
<span class="stat_label"><label>Short Words (< 5 characters) </label></span>
<span class="stat_con notice"><label id="num_short_word"> </label></span>
</div>
<div class="stat">
<span class="stat_label"><label>Characters without spaces </label></span>
<span class="stat_con notice"><label id="num_character_wo_spaces"> </label></span>
</div>
<div class="stat">
<span class="stat_label"><label>Number of sentences </label></span>
<span class="stat_con notice"><label id="num_sentence"> </label></span>
</div>
<div class="stat">
<span class="stat_label"><label>Number of paragraphs </label></span>
<span class="stat_con notice"><label id="num_paragraph"> </label></span>
</div>
<div class="stat">
<span class="stat_label"><label>Average Word Length </label></span>
<span class="stat_con notice"><label id="avg_word_length"> </label></span>
</div>
<div class="stat">
<span class="stat_label"><label>Average Sentence Length </label></span>
<span class="stat_con notice"><label id="avg_sentence_length"> </label></span>
</div>
<div class="stat">
<span class="stat_label"><label>Dale-Chall Readability Score </label></span>
<span class="stat_con notice"><label id="dale_chall_readability"> </label></span>
</div>
<div class="stat">
<span class="stat_label"><label>Readability level </label></span>
<span class="stat_con notice"><label id="readability_level"> </label></span>
</div>
<span id="showExtraStatistics"><input type="button" id="extraStatisticsButton" value="Show number of unique words"/></span>
</div>
</div>
<div class="clear"></div>
</div>
<!--
<div id="randomTextGenerate">
<span>
<input type="button" value="Random Text Generate" id="generate">
<select id="typeOption">
<option value="paragraphs">Paragraphs</option>
<option value="words" selected="selected">Words</option>
<option value="characters">Characters</option>
</select>
<span id="amount">Amount</span>
<input type="text" size=4 value="250" id="amountOption">
</span>
</div>
-->
<div class="clear"></div>
<div id="densityContainer" class="box_container">
<div class="header">Keyword Density Statistics</div>
<div id="keywordDensity">
<div class="instruction">
<span id="topQuatity" class="notice">Top <input type="text" size=2 value="10" id="numTopKeyWord"> words</span>
<span id="excluding" class="notice"><input type="checkbox" id="excludingCheckbox" checked/>Excluding grammar words</span>
<span id="viewWordCloud" class="notice"><input type="checkbox" id="viewWordCloudCheckbox"/>View Word Cloud</span>
<span id="topDensity"></span>
</div>
</div>
<div id="myCanvasContainer">
<canvas width="500" height="300" id="myCanvas">
<p>This browser does not support word cloud visualization feature </p> </canvas>
<div id="tagList">
<ul>
</ul>
</div>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
<div id="description">
<div id="infoBox" class="box_container">
<h1 class="header">Word Count Tool</h1>
<div class="instruction">
Word Count Tool is a handy and reliable word counter tool that counts the number of words, sentences, paragraphs.... It works with English and non-English text. This tool counts instantly as you type and gives you an extensive report about the readability and keyword density of the text. It also includes some extra features that you might find useful, such as case changing, stripping out HTML tags... Everything is done without any extra click.
</div>
<h1 class="header" id="readability_level">Readability level</h1>
<div class="instruction">
The readability level is calculated based on the Dale-Chall readability formula. The Dale-Chall readability score is given below:
<div>
<img id="dale_chall_formula" src="dale_chall.png" alt="Dale-Chall formula" width="450px" height="51px"/>
</div>
The words that are regarded as difficult words in the formula are those that do not belong to the list of <a href="./list-of-3000-familiar-words.html">3,000 familiar words</a>. If the percentage of difficult words is above <em>5%</em>, then add <em>3.6365</em> to the raw score to get the adjusted score, otherwise the adjusted score is equal to the raw score.
<h3>Mapping Dale-Chall Readability Score to Readability level:</h3>
<table id="scoretable" border="1"><tr>
<th>Score</th>
<th>Readability level</th>
</tr>
<tr>
<td>4.9 or lower</td>
<td>easily understood by an average 4th-grade student or lower</td>
</tr>
<tr>
<td>5.0–5.9</td>
<td>easily understood by an average 5th or 6th-grade student</td>
</tr>
<tr>
<td>6.0–6.9</td>
<td>easily understood by an average 7th or 8th-grade student</td>
</tr>
<tr>
<td>7.0–7.9</td>
<td>easily understood by an average 9th or 10th-grade student</td>
</tr>
<tr>
<td>8.0–8.9</td>
<td>easily understood by an average 11th or 12th-grade student</td>
</tr>
<tr>
<td>9.0–9.9</td>
<td>easily understood by an average 13th to 15th-grade (college) student</td>
</tr>
<tr>
<td>10.0 or higher</td>
<td>easily understood by an average college graduate</td>
</tr>
</table>
</div>
</div>
<div id="definitionBox" class="box_container">
<h1 class="header">Definition</h1>
<div class="instruction">
<h4 class="definition firstList">What is counted as a word?</h4>
A consecutive sequence of printable alphabet letters, numeric letters, hyphens, and markers.
<h4 class="definition">What is counted as a difficult word?</h4>
A word that falls outside the list of <a href="./list-of-3000-familiar-words.html">3000 familiar words</a>.
<h4 class="definition">What is counted as a character?</h4>
Any printable and non-printable characters. Non-printable are trimmed if they are at the beginning or at the end of the text.
<h4 class="definition">What is counted as a sentence?</h4>
A set of words that ends by a marker, such as full stop, question mark, exclamation mark...
<h4 class="definition">What is counted as a paragraph?</h4>
A set of sentences that ends by a new-line character...
<h4 class="definition">What is counted as Average Word Length?</h4>
The quotient of the number of non-space characters over the number of words.
<h4 class="definition">What is counted as Average Sentence Length?</h4>
The quotient of the number of words over the number of sentences.
</div>
</div>
<div class="clear"></div>
</div>
<div id="contact" class="clear">
Copyright © 2013 <a href="http://wordcounttools.com">Word Count Tool</a>. Contact us via <a href="mailto:[email protected]">email</a>.
</div>
</div>
<!--Google Analytics-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-41694441-1', 'wordcounttools.com');
ga('send', 'pageview');
</script>
<!--End Google Analytics-->
</body>
</html>