-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.htm
360 lines (305 loc) · 21.9 KB
/
index.htm
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
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Distant Reader</title>
<!-- Bootstrap CSS files-->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- jQuery Javascript Library -->
<script src="js/jquery.min.js"></script><!-- Bootstrap Library -->
<script src="js/bootstrap.min.js"></script>
<!-- Local Javascript add on -->
<script src="js/main.js" type="text/javascript"></script>
<!-- Google Open Sans web font -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700" rel="stylesheet">
<!-- Font Awesome Web Icons -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- custom local css file -->
<link rel="stylesheet" href="css/main.css">
</head>
<body data-spy="scroll" data-target="#myScrollspy" data-offset="40">
<!-- Navbar -->
<nav class="navbar yamm navbar-inverse navbar-fixed-top">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header"><button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<h1><a class="navbar-brand" href="https://distantreader.org/">Distant Reader</a></h1>
</div> <!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="dropdown" id="grams-menu"><a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Ngrams <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="./htm/unigrams.htm">Unigrams</a></li>
<li><a href="./htm/bigrams.htm">Bigrams</a></li>
<li><a href="./htm/trigrams.htm">Trigrams</a></li>
<li><a href="./htm/quadgrams.htm">Quadgrams</a></li>
</ul>
</li>
<li class="dropdown" id="pos-menu"><a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">POS <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="./htm/nouns.htm">Nouns</a></li>
<li><a href="./htm/verbs.htm">Verbs</a></li>
<li><a href="./htm/adjectives.htm">Adjectives</a></li>
<li><a href="./htm/adverbs.htm">Adverbs</a></li>
<li><a href="./htm/pronouns.htm">Pronouns</a></li>
<li><a href="./htm/proper-nouns.htm">Proper nouns</a></li>
</ul>
</li>
<li class="dropdown" id="grammar-menu"><a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Grammars <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="./htm/noun-verb.htm">Noun – Verb</a></li>
<li><a href="./htm/adjective-noun.htm">Adjective – Noun</a></li>
<li><a href="./htm/questions.htm">Questions</a></li>
</ul>
</li>
<li class="dropdown" id="miscellaneous-menu"><a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Other <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="./htm/bibliographics.htm">Bibliographics</a></li>
<li><a href="./htm/keywords.htm">Keywords</a></li>
<li><a href="./htm/entities.htm">Named entities</a></li>
<li><a href="./htm/search.htm">Search (experimental)</a></li>
<li><a href="./htm/topic-model.htm">Topic model (experimental)</a></li>
</ul>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div>
</nav>
<div class="container">
<div class="row push-down-4">
<nav class="col-sm-3" id="myScrollspy">
<ul class="nav nav-pills nav-stacked">
<li class="active"><a class="dr-smooth-scroll" href="#size-scope">Size & Scope</a></li>
<li><a class="dr-smooth-scroll" href="#readability">Readability</a></li>
<li><a class="dr-smooth-scroll" href="#word-frequencies">Word Frequencies</a></li>
<li><a class="dr-smooth-scroll" href="#keywords">Keywords</a></li>
<li><a class="dr-smooth-scroll" href="#topic-modeling">Topic Modeling</a></li>
<li><a class="dr-smooth-scroll" href="#noun-verbs">Nouns & Verbs</a></li>
<li><a class="dr-smooth-scroll" href="#proper-nouns">Proper Nouns & Pronouns</a></li>
<li><a class="dr-smooth-scroll" href="#adjectives-adverbs">Adjectives & Adverbs</a></li>
<li><a class="dr-smooth-scroll" href="#next-steps">Next steps</a></li>
</ul>
</nav>
<div class="col-sm-9">
<div>
<h1 id="page-header">Basic Reports</h1>
<!--##METADATA##-->
<hr>
</div>
<div class="dr-subsection" id="size-scope">
<h2>Size & Scope</h2>
<p>
First, the simple things. Your study carrel was created through the submission of a [SINGLE URL|FILE OF URLS|FILE FROM YOUR COMPUTER|ZIP FILE]. This ultimately resulted in a collection of <strong>48 item(s)</strong>. The original versions of these items have been saved in a <a href='./cache'>cache</a>, and each of them have been transformed & saved as a <a href='./txt'>set of plain text files</a>. All of the following analysis has been done against these plain text files.
</p>
<p>
Your study carrel is <strong>271,885 words</strong> long. [0] Each item in your study carrel is, on average, <strong>5,664 words long</strong>. [1] If you dig deeper, then you might want to save yourself some time by reading a shorter item. On the other hand, if your desire is for more detail, then you might consider reading a longer item. The following illustrate the overall size of your study carrel.
</p>
<div class="row image-row">
<div class="col-sm-6">
<figure>
<img class="img img-responsive center-block" src="./figures/sizes-histogram.png" alt="left image">
<figcaption>histogram of sizes</figcaption>
</figure>
</div>
<div class="col-sm-6">
<figure>
<img class="img img-responsive center-block" src="./figures/sizes-boxplot.png" alt="left image">
<figcaption>box plot of sizes</figcaption>
</figure>
</div>
</div>
<!-- .row -->
</div>
<div class="dr-subsection" id="readability">
<h2>Readability</h2>
<p>
On a scale from 0 to 100, where 0 is very difficult and 100 is very easy, your documents have an <strong>average readability score of 73</strong>. [2] Consequently, if you want to read something more simplistic, then consider a document with a higher score. If you want something more specialized, then consider something with a lower score. The following illustrate the overall readability of your study carrel.
</p>
<div class="row image-row">
<div class="col-sm-6">
<figure>
<img class="img img-responsive center-block" src="./figures/flesch-histogram.png" alt="left image">
<figcaption>histogram of readability</figcaption>
</figure>
</div>
<div class="col-sm-6">
<figure>
<img class="img img-responsive center-block" src="./figures/flesch-boxplot.png" alt="left image">
<figcaption>box plot of readability</figcaption>
</figure>
</div>
</div>
<!-- .row -->
</div>
<div class="dr-subsection" id="word-frequencies">
<h2>Word Frequencies</h2>
<p>By merely counting & tabulating the frequency of individual words or phrases, you can begin to get an understanding of your carrel's "aboutness". Excluding "stop words", some of the more frequent words include: [3]</p>
<p><blockquote>will, son, one, said, man, now, ulysses, men, jove, went, us, achaeans, trojans, shall, go, may, come, house, let, ships, hector, came, back, great, even, achilles, father, take, among, spear, made, gods, two, took, hand, see, fight, tell, though, sea, people, round, many, heaven, set, therefore, till, hands, still, like</blockquote></p>
<p>Using the three most frequent words, the three files containing all of those words the most are <strong><a href='./cache/homer-iliad-850_02.txt'>homer-iliad-850_02</a></strong>, <strong><a href='./cache/homer-iliad-850_05.txt'>homer-iliad-850_05</a></strong>, and <strong><a href='./cache/homer-iliad-850_23.txt'>homer-iliad-850_23</a></strong>.</p>
<p>The most frequent two-word phrases (bigrams) include:</p>
<p><blockquote>one another, let us, father jove, old man, will give, went back, every one, will tell, every man, king agamemnon, noble son, will go, ajax son, go back, one else, will make, phoebus apollo, will find, bearing jove, even though, will take, never yet, two sons, get home, come back, either side, ulysses answered, fell heavily, will come, good things, young men, outer court, hector son, go home, two ajaxes, will now, brave son, fingered dawn, pallas minerva, see whether, made sure, blessed gods, went right, come home, get back, two men, must go, loud cry, return home, sea shore</blockquote></p>
<p>And the three file that use all of the three most frequent phrases are <strong><a href='./cache/homer-iliad-850_23.txt'>homer-iliad-850_23</a></strong> <strong><a href='./cache/homer-iliad-850_14.txt'>homer-iliad-850_14</a></strong>, and <strong><a href='./cache/homer-iliad-850_13.txt'>homer-iliad-850_13</a></strong>.</p>
<p>While often deemed superficial or sophomoric, rudimentary frequencies and their associated "word clouds" can be quite insightful:
</p>
<div class="row image-row">
<div class="col-sm-6">
<figure>
<img class="img img-responsive center-block" src="./figures/unigrams.png" alt="left image">
<figcaption>unigrams</figcaption>
</figure>
</div>
<div class="col-sm-6">
<figure>
<img class="img img-responsive center-block" src="./figures/bigrams.png" alt="left image">
<figcaption>bigrams</figcaption>
</figure>
</div>
</div>
<!-- .row -->
</div>
<div class="dr-subsection" id="keywords">
<h2>Keywords</h2>
<p>Sets of keywords -- statistically significant words -- can be enumerated by comparing the relative frequency of words with the number of times the words appear in an entire corpus. Some of the most statistically significant keywords in your study carrel include:</p>
<p><blockquote>trojans, ulyss, achaeans, hector, jove, achilles, telemachus, man, menelaus, son, agamemnon, ulysses, alcinous, minerva, patroclus, penelope, phaeacians, aeneas, aeolus, antilochus, atreus, bellerophon, bow, calypso, circe, cyclops, diomed, eumaeus, father, ghost, hades, idomeneus, irus, mars, nausicaa, nestor, pisistratus, priam, scylla, ship, tydeus</blockquote></p>
<p>And now word clouds really begin to shine:</p>
<div class="row image-row">
<figure>
<img class="img img-responsive center-block" src="./figures/keywords.png" alt="left image">
<figcaption>keywords</figcaption>
</figure>
</div>
</div>
<div class="dr-subsection" id="topic-modeling">
<h2>Topic Modeling</h2>
<p>Topic modeling is another popular approach to connoting the aboutness of a corpus. If your study carrel could be summed up in a single word, then that word might be <strong>son</strong>, and <strong><a href='./cache/homer-odyssey-850_24.txt'>homer-odyssey-850_24</a></strong> is most about that word.</p>
<p>If your study carrel could be summed up in three words ("topics") then those words and their significantly associated titles include:</p>
<ol>
<li>son - <a href='./cache/homer-iliad-850_16.txt'>homer-iliad-850_16</a></li>
<li>ulysses - <a href='./cache/homer-odyssey-850_19.txt'>homer-odyssey-850_19</a></li>
<li>son - <a href='./cache/homer-iliad-850_01.txt'>homer-iliad-850_01</a></li>
</ol>
<p>If your study carrel could be summed up in five topics, and each topic were each denoted with three words, then those topics and their most significantly associated files would be:</p>
<ol>
<li>son, trojans, achaeans - <a href='./cache/homer-iliad-850_16.txt'>homer-iliad-850_16</a></li>
<li>ulysses, said, house - <a href='./cache/homer-odyssey-850_19.txt'>homer-odyssey-850_19</a></li>
<li>ulysses, said, house - <a href='./cache/homer-odyssey-850_17.txt'>homer-odyssey-850_17</a></li>
<li>men, ship, said - <a href='./cache/homer-odyssey-850_09.txt'>homer-odyssey-850_09</a></li>
<li>horses, son, achilles - <a href='./cache/homer-iliad-850_23.txt'>homer-iliad-850_23</a></li>
</ol>
<p>Moreover, the totality of the study carrel's aboutness, can be visualized with the following pie chart:</p>
<div class="row image-row">
<figure>
<img class="img img-responsive center-block" src="./figures/topics.png" alt="left image">
<figcaption>topic model</figcaption>
</figure>
</div>
</div>
<div class="dr-subsection" id="noun-verbs">
<h2>Noun & Verbs</h2>
<p>
Through an analysis of your study carrel's parts-of-speech, you are able to answer question beyonds aboutness. For example, a list of the most frequent nouns helps you answer what questions; "What is discussed in this collection?":</p>
<p><blockquote>son, man, men, ulysses, house, ships, gods, spear, father, hand, people, hands, way, horses, sea, ship, city, one, ground, armour, day, suitors, body, heart, battle, head, time, others, mother, sons, side, god, chariot, death, fight, daughter, end, eyes, shield, wine, fire, nothing, wife, land, place, water, women, night, wall, blood</blockquote></p>
<p>An enumeration of the verbs helps you learn what actions take place in a text or what the things in the text do. Very frequently, the most common lemmatized verbs are "be", "have", and "do"; the more interesting verbs usually occur further down the list of frequencies:</p>
<p><blockquote>was, had, is, have, were, are, be, said, did, do, has, went, go, come, let, been, came, take, made, took, see, tell, am, set, answered, give, make, saw, spoke, fell, left, put, got, know, killed, say, brought, gave, fight, get, saying, heard, sent, struck, laid, stood, lay, going, bring, find</blockquote></p>
<div class="row image-row">
<div class="col-sm-6">
<figure>
<img class="img img-responsive center-block" src="./figures/nouns.png" alt="left image">
<figcaption>nouns</figcaption>
</figure>
</div>
<div class="col-sm-6">
<figure>
<img class="img img-responsive center-block" src="./figures/verbs.png" alt="left image">
<figcaption>verbs</figcaption>
</figure>
</div>
</div>
<!-- .row -->
</div>
<div class="dr-subsection" id="proper-nouns">
<h2>Proper Nouns</h2>
<p>
An extraction of proper nouns helps you determine the names of people and places in your study carrel.</p>
<p><blockquote>achaeans, trojans, jove, hector, achilles, heaven, minerva, agamemnon, telemachus, menelaus, priam, ulysses, patroclus, apollo, atreus, troy, ajax, peleus, argives, king, mars, juno, nestor, neptune, danaans, penelope, ithaca, olympus, tydeus, diomed, ilius, aeneas, saturn, idomeneus, eumaeus, hades, trojan, helen, antilochus, vulcan, phaeacians, pylos, argos, sarpedon, thetis, mercury, alexandrus, father, ida, laertes</blockquote></p>
<p>An analysis of personal pronouns enables you to answer at least two questions: 1) "What, if any, is the overall gender of my study carrel?", and 2) "To what degree are the texts in my study carrel self-centered versus inclusive?"</p>
<p><blockquote>he, his, you, i, him, it, they, them, me, my, their, your, her, she, we, us, our, himself, its, myself, yourself, themselves, herself, itself, one, ourselves, mine, you--, yours, ours, hers, thy, thee, house--, therefore--, time--, well-, ye, yourselves, battle--, hare--, her--, him--, mankind--, prize--, see--, stout-, theirs, them--, things--</blockquote></p>
<p>Below are words cloud of your study carrel's proper & personal pronouns.
</p>
<div class="row image-row">
<div class="col-sm-6">
<figure>
<img class="img img-responsive center-block" src="./figures/proper-nouns.png" alt="left image">
<figcaption>proper nouns</figcaption>
</figure>
</div>
<div class="col-sm-6">
<figure>
<img class="img img-responsive center-block" src="./figures/pronouns.png" alt="left image">
<figcaption>pronouns</figcaption>
</figure>
</div>
</div>
<!-- .row -->
</div>
<div class="dr-subsection" id="adjectives-adverbs">
<h2>Adjectives & Verbs</h2>
<p>
Learning about a corpus's adjectives and adverbs helps you answer how questions: "How are things described and how are things done?" An analysis of adjectives and adverbs also points to a corpus's overall sentiment. "In general, is my study carrel positive or negative?"</p>
<p><blockquote>own, great, other, good, many, old, full, such, much, dead, noble, brave, fair, strong, mighty, best, young, high, more, whole, angry, first, long, dear, better, alive, right, little, golden, rich, close, thick, poor, same, plain, true, immortal, last, dark, glad, ready, sure, valiant, hard, loud, bad, fierce, fine, excellent, afraid</blockquote></p>
<p><blockquote>not, then, so, now, up, even, out, down, thus, back, here, still, therefore, on, as, again, off, also, away, yet, once, there, never, home, ever, too, very, well, far, soon, more, first, long, much, all, however, in, most, only, no, indeed, over, just, round, forward, meanwhile, presently, moreover, together, longer</blockquote></p>
<div class="row image-row">
<div class="col-sm-6">
<figure>
<img class="img img-responsive center-block" src="./figures/adjectives.png" alt="left image">
<figcaption>adjectives</figcaption>
</figure>
</div>
<div class="col-sm-6">
<figure>
<img class="img img-responsive center-block" src="./figures/adverbs.png" alt="left image">
<figcaption>adverbs</figcaption>
</figure>
</div>
</div>
<!-- .row -->
</div>
<div class="dr-subsection" id="next-steps">
<h2>Next steps</h2>
<p>Here is a prioritized list of next steps to thus get more out of your study carrel:</p>
<ol>
<li>browse, sort, and search the content of the menu items named <strong>Ngrams</strong>, <strong>POS</strong>, <strong>Grammars</strong>, and <strong>Others</strong> found at the top of this page to acquire more detail about your carrel</li>
<li>read <a href="./standard-output.txt">standard-output.txt</a>, as it will both summarize and elaborate upon this narrative report</li>
<li>read <a href="./MANIFEST.htm">MANIFEST.htm</a> to both inventory your study carrel as well as learn how to answer more specific questions of it</li>
</ol>
</div>
</div>
<!-- .col-sm-9 -->
</div>
<!-- .row -->
</div>
<!-- .container -->
<!-- Footer -->
<footer class="footer">
<div class="container">
<hr>
<div class="row">
<div class="col-sm-4">
<p class="text-muted text-center">© 2019 Eric Lease Morgan</p>
</div>
<div class="col-sm-4">
<p class="text-center"><a href="mailto:emorgan@nd.edu">Contact Webmaster</a></p>
</div>
<div class="col-sm-4">
<p class="text-center">
<a href="https://distantreader.org/">About Distant Reader</a>
</p>
</div>
</div>
</div>
</footer>
</body>
</html>