A data science and machine learning approach to continuous analysis of Shakespeare's plays

Charles Swisher, Lior Shamir
1/15/2023
cs.CLcs.LG

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

The availability of quantitative text analysis methods has provided new ways of analyzing literature in a manner that was not available in the pre-information era. Here we apply comprehensive machine learning analysis to the work of William Shakespeare. The analysis shows clear changes in the style of writing over time, with the most significant changes in the sentence length, frequency of adjectives and adverbs, and the sentiments expressed in the text. Applying machine learning to make a stylometric prediction of the year of the play shows a Pearson correlation of 0.71 between the actual and predicted year, indicating that Shakespeare's writing style as reflected by the quantitative measurements changed over time. Additionally, it shows that the stylometrics of some of the plays is more similar to plays written either before or after the year they were written. For instance, Romeo and Juliet is dated 1596, but is more similar in stylometrics to plays written by Shakespeare after 1600. The source code for the analysis is available for free download.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{swisher2023data,
  title  = {A data science and machine learning approach to continuous analysis of Shakespeare's plays},
  author = {Charles Swisher and Lior Shamir},
  year   = {2023},
  eprint = {2301.06024},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.06024v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.06024.svg)](https://codeofpaper.com/paper/2301.06024)

Discussion