Relative contributions of Shakespeare and Fletcher in Henry VIII: An Analysis Based on Most Frequent Words and Most Frequent Rhythmic Patterns	The versified play Henry VIII is nowadays widely recognized to be a collaborative work not written solely by William Shakespeare. We employ combined analysis of vocabulary and versification together with machine learning techniques to determine which authors also took part in the writing of the play and what were their relative contributions. Unlike most previous studies, we go beyond the attribution of particular scenes and use the rolling attribution approach to determine the probabilities of authorship of pieces of texts, without respecting the scene boundaries. Our results highly support the canonical division of the play between William Shakespeare and John Fletcher proposed by James Spedding, but also bring new evidence supporting the modifications proposed later by Thomas Merriam.

History and related works	While the stylistic dissimilarity of Henry VIII (henceforth H8) to Shakespeare’s other plays had been pointed out before , it was not until the mid-nineteenth century that Shakespeare’s sole authorship was called into question. In 1850 British scholar James Spedding published an article  attributing several scenes to John Fletcher. Spedding supported this with data from the domain of versification, namely the ratios of iambic lines ending with a stressed syllable (“The view of earthly glory: men might say”) to lines ending with an extra unstressed one (“Till this time pomp was single, but now married”), pointing out that the distribution of values across scenes is strongly bimodal. Since then many scholars have brought new evidence supporting Spedding’s division of the play based both on versification and linguistic features. This includes e.g. frequencies of enjambment , frequencies of particular types of unstressed line endings , , frequencies of contractions , vocabulary richness , phrase length measured by the number of words , or complex versification analysis , . From the very beginning, beside advocates of Shakespeare’s sole authorship (e.g.

Introduction	In the first collection of William Shakespeare’s works published in 1623 (the so-called First Folio) a play appears entitled The Famous History of the Life of King Henry the Eight for the very first time. Nowadays it is widely recognized that along with Shakespeare, other authors were involved in the writing of this play, yet there are different opinions as to who these authors were and what the precise shares were of their authorial contributions. This article aims to contribute to the question of the play’s authorship using combined analysis of vocabulary and versification and modern machine learning techniques (as proposed in , ).

, ), there were also those who supported alternative hypotheses concerning mixed authorship of either Shakespeare, Fletcher, and Philip Massinger , , , Fletcher and Massinger only , , Shakespeare and an unknown author , Shakespeare, Fletcher, Massinger, and an unknown author ,  or Shakespeare and Fletcher with different shares than those proposed by Spedding . More recent articles usually fall in the last mentioned category and attribute the play to Shakespeare and Fletcher (although the shares proposed by them differ). Thomas Horton  employed discriminant analysis of three sets of function words and on this basis attributed most of the scenes to Shakespeare or left them undecided. Thomas Merriam proposed a modification to Spedding’s original attribution concerning re-attribution of several parts of supposedly Fletcher’s scenes back to Shakespeare and vice versa. This was based on measuring the confidence intervals and principal component analysis of frequencies of selected function words in Shakespeare’s and Fletcher’s plays , controversial CUSUM technique concerning the occurrences of another set of selected function words and lines ending with an extra unstressed syllable  or principal component analysis of 64 most frequent words .

(2) Probability of Shakespeare’s authorship is very low for vast majority of Fletcher’s work. The only place where Shakespeare comes closer to Fletcher’s values is the first scene of act 5 of Bonduca. Having only 10 groups misattributed out of 4412 we may estimate the accuracy of rolling attribution to be as high as 0.9977 when distinguishing between Shakespeare and Fletcher. After validation of the method we proceed to H8. Fig. FIGREF30 gives the results of rolling attribution based on a combined vector of most frequent types and most frequent words, and additionally for each of these feature subsets alone. Models were trained on all 8 plays in the training set with the same setting as above ($k = 100; d = 5$). It once again supports Spedding’s attribution to a high extent: For scenes 1.1 and 1.2 rhythmic types, words as well as the combined model indicate Shakespeare to be the author. All three sets of models indicate that the shift of authorship happened at the end of scene 1.2.

Rhythmic types indicate the possibility of Shakespeare’s share in 5.4.

Each target play is segmented into overlapping parts with $k = 100$ and $d = 5$ (each successive series of five lines except for the initial 19 and final 19 ones are thus classified 600 times—30 times within 20 different parts). The output of classification of each part is transformed to probability distribution using Platt’s scaling . Fig. FIGREF21 gives the results for each of the eight plays. Each data point corresponds to a group of five lines and gives the mean probability of Shakespeare’s and Fletcher’s authorship. For the sake of clarity, the values for Fletcher are displayed as negative. The distance between Shakespeare’s data point and Fletcher’s data point thus always equals 1. The black curve gives the average of both values. The results suggest the rolling attribution method with combined versification and lexical features to be very reliable: (1) Probability of Fletcher’s authorship is very low for vast majority of Shakespeare’s work. The only place where Fletcher is assigned higher probability than Shakespeare is the sequence of 10 five-line groups in the second act of scene 2 of the Tempest.

Eisen, Riberio, Segarra, and Egan  used Word adjacency networks  to analyze the frequencies of collocations of selected function words in particular scenes of the play. In contrast to Spedding, they reattribute several scenes back to Shakespeare. Details on Spedding’s attribution as well as the ones mentioned in this paragraph are given in Table TABREF3. In the present study, with regard to the aforementioned studies, Shakespeare, Fletcher, and Massinger are considered as candidates to the authorship of H8.

Combined models locate it precisely at line 2200 (in agreement with earlier studies by Merriam , . A certain decrease in the probability of Shakespeare’s authorship found in the neighborhood of line 2081 in word-based models and combined models may support Merriam’s later attributions , i.e. mixed authorship even after the line 2081. For scenes 4.1 and 4.2 the rhythmic types indicate Shakespeare’s authorship of the first (contrary to Spedding) and Fletcher’s authorship of the latter. Location of the shift does not however fully correspond to the scene boundaries. Probabilities extracted from word-based models and combined models are close to 0.5 for both authors which may support Merriam’s attribution (mixed authorship). Scene 5.1 is according to all sets of models authored by Shakespeare. Rhythmic types and combined models locate the shift at its end; word-based models locate it a little later on. Scenes 5.2, 5.3, 5.4 and 5.5 are Fletcher’s according to word-based models and combined models.

Attribution of Particular Scenes	In the first experiment we perform an attribution of individual scenes of H8 using the Support Vector Machine as a classifier and the frequencies of 500 most frequent rhythmic types and the frequencies of 500 most frequent words as a feature set. As training samples, individual scenes of plays written by Shakespeare, Fletcher, and Massinger are used that come roughly from the period when H8 was supposedly written, namely: Shakespeare: The Tragedy of Coriolanus (5 scenes), The Tragedy of Cymbeline (27 scenes), The Winter’s Tale (12 scenes), The Tempest (9 scenes) Fletcher: Valentinian (21 scenes), Monsieur Thomas (28 scenes), The Woman’s Prize (23 scenes), Bonduca (18 scenes) Massinger: The Duke of Milan (10 scenes), The Unnatural Combat (11 scenes), The Renegado (25 scenes) Altogether there are thus 53 training samples for Shakespeare, 90 training samples for Fletcher and 46 training samples for Massinger.

Out of 17 scenes only 2 are attributed to Massinger by any of the models (2.1, 4.2), and in both cases by a mere minority of votes. The probability that the text of H8 is a result of collaboration between Shakespeare and Fletcher is very high: with 7 scenes all the 30 models agree upon Shakespeare’s authorship, with 5 scenes all the 30 models agree upon Fletcher’s authorship. Our results correspond to the Spedding’s attribution to a high extent. With the exception of two scenes, the majority of models always predict the same author to which it is attributed by Spedding. The two exceptions are the second scene of act 3, where Spedding supposed mixed authorship, and the first scene of act 4, which was originally attributed to Fletcher.

In order to estimate the accuracy of the model, cross-validation is performed in the following way: To avoid the risk of overfitting which may be caused by testing the model on the scenes from the same play as it was trained on, we do not perform a standard k-fold cross validation. Instead, we classify scenes of each play by a model trained on the rest, i.e. 5 scenes of Shakespeare’s Coriolanus are classified by a model trained on the scenes from the remaining 3 plays by Shakespeare, 4 plays by Fletcher and 5 plays by Massinger, 27 scenes of Cymbeline are classified in the same way and so on. Since the training data are imbalanced (which may bias the results), we level the number of training samples per author by random selection. To obtain more representative results, the entire process is repeated 30 times (with a new random selection in each iteration) thus resulting in 30 classifications of each scene.

For scenes 1.3, 1.4, 2.1 and 2.2 all three sets of models indicate Fletcher to be the author. Rhythmic types indicate that the shift of authorship happened at the end of 2.2, while word-based models indicate that the shift happened before the end of the scene. (Recall that the shift of authorship within 2.2 is proposed also by Thomas Merriam (cf. Table TABREF3) even though a little bit further at line 1164.) Scenes 2.3 and 2.4 are according to all sets of models authored by Shakespeare. All three sets of models indicate that the shift happened at the end of scene 2.4. According to all sets of models, scene 3.1 was written by Fletcher. All three sets of models indicate that the shift happened at the scene’s end. Scene 3.2 is usually attributed to both Shakespeare and Fletcher. All three sets of models support this. While Spedding and other authors locate the shift to line 2081, all our sets of models indicate that it occurred later.

For the sake of comparison of the attribution power of both feature subsets, cross-validations are performed not only of the combined models (500 words $\cup $ 500 rhythmic types), but also of the words-based models (500 words) and versification-based models (500 rhythmic types) alone. As shown in Table TABREF14, the versification-based models yield a very high accuracy with the recognition of Shakespeare and Fletcher (0.97 to 1 with the exception of Valentinian), yet slightly lower accuracy with the recognition of Massinger (0.81 to 0.88). The accuracy of words-based models remains very high across all three authors (0.95 to 1); in three cases it is nevertheless outperformed by the combined model. We thus may conclude that combined models provide a reliable discriminator between Shakespeare’s, Fletcher’s and Massinger’s styles. Table TABREF19 gives the results of the classifiers when applied to the individual scenes of H8 on the basis of which we may conclude: It is very unlikely that Massinger took part in the text of H8.

Let $k$ and $d$ be arbitrarily chosen values so that $k \in \mathbb {N}$, $k < n$ and $d \in \mathbb {N}$, $d < n - k$, $d \le k$. For each $i; i \in \lbrace 0, d, 2d, 3d, \ldots \rbrace , i < n - k$ a battery of attributions is performed of all the sections s consisting of lines $l_{i+1}, l_{i+2}, l_{i+3}, \ldots , l_{i+k}$. To achieve a better sensitivity to authorship transitions Eder suggests not to work with simple predictions (labeling the section as being written by a single author) but—if it’s possible with a given classifier—rather a probability distribution over candidate authors. We first test the performance of rolling attribution on 4 plays by Shakespeare and 4 plays by Fletcher contained in the training set. For each play we train 30 models on the remaining data with number of training samples randomly leveled in each iteration.

Conclusions	Combined versification-based and word-based models trained on 17th century English drama yield a high accuracy of authorship recognition. We can thus state with high reliability that H8 is a result of collaboration between William Shakespeare and John Fletcher, while the participation of Philip Massinger is rather unlikely. The rolling attribution method suggests that particular scenes are indeed mostly a work of a single author and that their contributions roughly correspond to what has been proposed by James Spedding . The main differences between our results and Spedding’s attribution are the ambivalent outputs of models for both scenes of act 4. However, it is worth noting that Spedding himself expressed some doubts about the authorship of these scenes. Other differences are rather marginal and usually support the modifications of Spedding’s original attribution, as proposed by Thomas Merriam , , .

Rolling attribution of the play	Even though the classification of individual scenes clearly indicates that H8 is a result of collaboration between Shakespeare and Fletcher, we should not accept it as the final result since most studies suggest that—at least in the case of the second scene of act 3—the shift of authorship did not happen on the scenes’ boundaries (as shown in Table TABREF3). To get a more reliable picture of the authors’ shares, we’ve employed so called rolling attribution. Rolling attribution was originally introduced by Maciej Eder  as a technique designed for cases involving mixed authorship. Unlike common tasks, in rolling attribution neither the entire text nor its logical parts (chapters, scenes etc.) are being classified but instead its overlapping parts of fixed length. Assume a text which one supposes to be a result of a collaboration between two (or more) authors consisting of $n$ lines $l_1, l_2, l_3, \ldots , l_{n}$.

Question: Is Henry VIII reflective of Shakespeare in general?
Answer: No