Stylometry
Stylometry is the study of writing style, often used to analyze texts to identify authorship or detect patterns. By examining various features such as word choice, sentence length, and punctuation, researchers can quantify the unique characteristics of a writer's style. This method can be applied to both historical and contemporary texts.
The field of stylometry has gained popularity with the rise of computational tools, allowing for more extensive analysis of large bodies of text. It has been used in literary studies, forensic linguistics, and even in cases involving William Shakespeare and J.K. Rowling to explore authorship questions.