Mr. Bennet, his coachman, and the Archbishop walk into a bar but only one of them gets recognized: On The Difficulty of Detecting Characters in Literary Texts

Hardik Vala, David Jurgens, Andrew Piper, Derek Ruths

Introduction

Identifying characters in computational literary analysis is the fundamental building block for mapping social networks and tracking narrative development. However, standard Named Entity Recognition (NER) tools—typically optimized for news articles—frequently fail when applied to literature. These systems struggle with the "Archbishop" problem (characters referred to only by titles), naming complexity (aliases like "Elizabeth" vs. "Miss Bennet"), and the "long tail" of minor characters who are often overlooked by general-purpose models. This paper introduces a novel eight-stage pipeline designed to capture the full social fabric of a novel, from protagonists to the anonymous coachman.

The Eight-Stage Pipeline

The proposed system treats character detection as a graph problem where nodes represent name mentions and edges represent identity. The process is divided into two main phases: expansion and constraint.

In the expansion phase (Stages 1–4), the system uses NER and coreference resolution to find names, applying variation rules and a gazetteer of nicknames (hypocorisms) to link different versions of the same name. In the constraint phase (Stages 5–6), "anti-edges" are applied to prevent over-merging. For instance, the system will not merge entities if they have different genders or if they appear together in a conjunction (e.g., "Mr. Bennet and the Archbishop"), which clearly signals two distinct individuals.

The graph-based resolution process: identifying and clustering name variations while maintaining distinctions between separate entities based on social context and gender.

Behavioral Bootstrapping

The most innovative aspect of the pipeline is Stage 7: Behavioral Bootstrapping. To identify characters without proper names (like "the coachman"), the authors look for "prototypical character behaviors." By identifying verbs statistically associated with animate beings—such as "rejoice," "accost," or "frown"—the system can promote a common noun to a "character" if it consistently performs these sentient actions. This allows the model to detect the "minor characters" that provide the social context often missed by systems like BookNLP.

Experimental Results

The system was evaluated against a new manually-annotated "Gold Standard" of 58 works (including Sherlock Holmes and Pride and Prejudice) and a baseline of 30 novels from SparkNotes.

  • Superior Performance: On Pride and Prejudice, the system achieved an F1-score of 0.75, significantly higher than BookNLP (0.50) and standard NER (0.53).
  • Precision in Counting: The system predicted 72 characters for Pride and Prejudice (actual count: 73), whereas the next best system found only 69.
  • Minor Character Detection: In the Sherlock Holmes corpus, where minor characters are frequent but brief, the system achieved an F1 of 0.54, outperforming all state-of-the-art baselines.

Key Insights and Literary Implications

Beyond technical metrics, the tool allows researchers to revisit long-standing literary hypotheses. For example, the authors investigated the theory that urban novels possess higher character density than rural ones. Surprisingly, the data revealed no statistically significant difference in character density based on setting. This suggests that the perceived "crowdedness" of a city novel may be a result of narrative style rather than a literal increase in the number of characters.

Analysis of character density (ratio of characters to tokens) across a longitudinal corpus, showing the stability of character-to-token ratios over two centuries.

Conclusion

By defining characters through their actions rather than just their names, this research provides a more accurate lens for digital humanities. While challenges remain—particularly regarding coreference failures in complex first-person narratives like The Moonstone—the behavioral bootstrapping approach represents a significant step forward in capturing the full complexity of the literary world.

Summary updated

BibTeX
@inproceedings{vala2015mr,
  author = {Hardik Vala and David Jurgens and Andrew Piper and Derek Ruths},
  title = {{Mr. Bennet, his coachman, and the Archbishop walk into a bar but only one of them gets recognized: On The Difficulty of Detecting Characters in Literary Texts}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2015},
  doi = {10.18653/v1/d15-1088},
}
Figure