Automatic Compositor Attribution in the First Folio of Shakespeare

Maria Ryskina, Hannah Alpert-Abrams, Dan Garrette, Taylor Berg-Kirkpatrick

Abstract

Compositor attribution, the clustering of pages in a historical printed document by the individual who set the type, is a bibliographic task that relies on analysis of orthographic variation and inspection of visual details of the printed page. In this paper, we introduce a novel unsupervised model that jointly describes the textual and visual features needed to distinguish compositors. Applied to images of Shakespeare's First Folio, our model predicts attributions that agree with the manual judgements of bibliographers with an accuracy of 87%, even on text that is the output of OCR.

Introduction

In the 17th century, the production of books was a manual, labor-intensive process. "Compositors," or typesetters, would set type by hand, selecting individual metal glyphs from cases. These workers often left behind distinct "fingerprints" in their work through idiosyncratic habits. Some might prefer the spelling deere over dear, while others might consistently leave more or less whitespace after a medial comma.

Examples of spelling and spacing variations in the First Folio.

Compositor attribution—the task of identifying which individual set which page—is vital for bibliographers to understand textual transmission and identify errors. Traditionally, this has been a painstaking manual effort. This research introduces an unsupervised machine learning approach to automate this "detective work," scaling analysis to the hundreds of pages found in works like Shakespeare’s First Folio.

Methods

The core of this approach is a generative model that treats the compositor of each page as a latent variable. The model integrates two primary evidence streams:

  1. Orthographic Preferences: Using a log-linear parameterization, the model captures general spelling habits. It employs "EDIT" features (e.g., the tendency to substitute 'e' for 'a') and "WORD" features (specific word-pair preferences).
  2. Whitespace Layout: The model measures the pixel width of spaces following medial commas, capturing the physical layout habits of the typesetter.
The generative model for compositor attribution.

The model is trained using the Expectation-Maximization (EM) algorithm, which iteratively guesses the compositor for each page and updates the preference parameters until the model converges.

Datasets

The study focuses on the First Folio of Shakespeare (1623). The authors evaluated their model using two types of input:

  • Bodleian Transcription: A high-quality, manually keyed diplomatic transcription.
  • Ocular OCR: An automatic transcription generated by an OCR system, which includes "noisy" text and pixel-level bounding boxes for glyphs.

To provide a baseline for "correct" spelling, these versions were aligned with a modernized version of Shakespeare’s works (from the MIT Complete Works of Shakespeare).

Results and Discussion

The researchers compared their model's predictions against gold-standard attributions from established bibliographers (Hinman and Blayney). The best-performing model, using EDIT features combined with visual spacing data, achieved 87% accuracy.

Notably, the model performed nearly as well on noisy OCR text (86.7%) as it did on perfect manual transcriptions (87.6%). This is a major win for digital humanities, as it suggests the method can be applied to massive archives of uncorrected scans. The model also successfully "rediscovered" habits noted by famous bibliographers, such as Compositor D's tendency to omit the 'u' in words like young (printing it as yong).

Limitations and Future Work

The authors acknowledge a few hurdles for future development. The model currently requires a modernized version of the text to align against historical spelling, which may not exist for more obscure texts. Additionally, human bibliographers use external evidence, such as "type case" analysis (tracking a specific damaged piece of metal type across pages), which the current model does not yet incorporate. Future work aims to scale this system to larger corpora and different languages to create a scalable first-pass analysis tool for historians.

Summary updated

BibTeX
@inproceedings{ryskina2017automatic,
  author = {Maria Ryskina and Hannah Alpert-Abrams and Dan Garrette and Taylor Berg-Kirkpatrick},
  title = {{Automatic Compositor Attribution in the First Folio of Shakespeare}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2017},
  url = {https://openreview.net/forum?id=SJbs5nlubr},
}
Figure