Turn writing habits such as sentence length, punctuation and pronoun use into figures, and compare how close several texts are in style.
Stylometry: compare the writing style of texts
What goes into a fingerprint
Some forty figures in five groups: sentences (length, variation, questions, passives, negatives), words (length, function words, connectives), parts of speech, punctuation, and personal pronouns. Most of these are habits a writer does not think about, and they say more about who wrote a text than its subject words do.
Comparing texts
A similarity table says how close each pair of files is, and 1 is the same profile. The radar chart places each file on each feature against the others. For every file, the features that stand out are listed with how many standard deviations they lie from the average of all files.
Where it is used
Comparing authors, checking whether chapters or translations come from one hand, following how a writer changed over the years, and seeing what an edit did to a draft. Curves run through the text for sentence length, punctuation and the first person, so a passage written in another manner shows as a break. Likeness of style alone does not prove who wrote a text.
Readability and style
How a text reads: its difficulty, its habits, its tone.
Readability: Score how hard a text is to read with Flesch, Gunning Fog and five more indexes, and find its hardest sentences.
Writing style analysis: Score each text on eight dimensions of style, from formality to rigor of argument, see which genre it reads like, and get strengths, weaknesses and suggestions tied to its figures.
Discourse markers: Count the connecting words of a text, such as because, however and for example, by the job they do and where they sit in the sentence.
Extractive summary: Pick the sentences that best stand for the whole text. Nothing is rewritten: every sentence is quoted as it was written.
Sentiment and emotion: Rate each line as positive, negative or neutral, and score it for valence, arousal and dominance.
Sarcasm and hidden sentiment: Read each line past its surface: how likely it is sarcastic or passive-aggressive, whether it overdoes praise to criticize, how much negativity it hides, and its main emotion.
Sentiment with evidence: Rate each line as positive, negative or neutral and see the words that carry the rating, what kind of word each is and the pattern behind it, with the main causes of the negative lines.
Sentiment by lexicon (VADER): Rate each line as positive, negative or neutral with VADER, the widely used English sentiment lexicon, and see the words that carry each rating. Add words of your own field.
Rhetorical devices: Label every sentence with the rhetorical devices it uses, from metaphor and irony to parallelism and puns, and see which ones the text leans on and where they gather.
Dependency parsing: Draw every sentence as a tree of words tied by grammatical relations, and see which relations are most frequent and which sentences are long or deeply nested.
Argument structure: Find the main claim of an essay, the supporting claims and evidence under it and the opposing views it answers, drawn as a map with every sentence quoted as written.