Skip to content

Instantly share code, notes, and snippets.

@jpotts18
Created February 23, 2015 18:14
Show Gist options
  • Save jpotts18/e6f13bde30d43992dcb2 to your computer and use it in GitHub Desktop.
Save jpotts18/e6f13bde30d43992dcb2 to your computer and use it in GitHub Desktop.
Mark Twain Stylometry Analysis
Lexical diversity : 6.60800900797
Mean Word Length : 6.86258874932
Mean Sentence Length : 96.1115333774
STDEV Sentence Length : Not Supported
Mean paragraph Length : Not Supported
Document Length : 581667
>>> Punctuation Analysis (per 1000 tokens) <<<
Commas : 59.1725372445
Semicolons : 11.2743965816
Quotations : 0.0
Exclamations : 3.76775609193
Colons : 3.24806559649
Hyphens : 0.0505254648343
Double Hyphens : 0.0216537706433
>>> Lexical Usage Analysis (per 1000 tokens) <<<
and : 43.8200138584
but : 5.41344266082
however : 0.0
if : 2.46131192978
that : 7.86753666705
more : 1.32809793279
must : 0.541344266082
might : 0.469165030604
this : 1.86222427532
very : 0.692920660584
>>> Phraseology Analysis <<<
Lexical diversity : 9.28207599119
Mean Word Length : 6.87850698307
Mean Sentence Length : 78.0645957622
STDEV Sentence Length : Not Supported
Mean paragraph Length : Not Supported
Document Length : 379472
>>> Punctuation Analysis (per 1000 tokens) <<<
Commas : 56.4656754772
Semicolons : 7.30772760646
Quotations : 0.0
Exclamations : 7.38803230543
Colons : 2.79919236417
Hyphens : 0.0
Double Hyphens : 9.69392437592
>>> Lexical Usage Analysis (per 1000 tokens) <<<
and : 33.750917768
but : 4.68061674009
however : 0.0917767988253
if : 2.27147577093
that : 10.8870227606
more : 1.58314977974
must : 0.493300293686
might : 0.734214390602
this : 2.69594346549
very : 0.860407488987
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment