Abstract
We present a method for extracting social networks from nineteenth-century British literature based on dialogue interactions. By developing an NLP pipeline for character identification, quote attribution, and conversation detection, we analyze a corpus of 60 novels. Our findings challenge traditional literary theories that link social network structure to urban or rural settings. Instead, we demonstrate that narrative perspective—whether a story is told in the first or third person—is the primary determinant of a novel's social network density and connectivity.
Introduction
In literary studies, scholars like Mikhail Bakhtin and Franco Moretti have long posited that a novel's setting dictates its social structure. Rural novels are traditionally viewed as "knowable communities" with dense, face-to-face interactions, while urban novels are seen as fragmented, reflecting the alienation of city life. This research uses computational linguistics to test these theories across a large, representative corpus, moving beyond the close reading of a few canonical texts.
Methodology
The researchers developed an automated pipeline to extract conversational networks where nodes represent characters and edges represent bilateral dialogue.
- Character Identification: Using the Stanford NER tagger and rule-based coreference resolution, the system clusters name variations into distinct character entities.
- Quoted Speech Attribution: Quotes are attributed to speakers based on syntactic patterns. The system prioritizes precision, successfully attributing 57% of quotes with 96% accuracy.
- Network Construction: An edge is formed between two characters if they speak within 300 words of each other without intervening attributed quotes. Edge weights are determined by the volume of dialogue exchanged.
This "speech adjacency" method significantly outperformed baselines like simple character co-occurrence or name mentions within dialogue.
Data and Evaluation
The study utilized a corpus of 60 nineteenth-century British novels (e.g., Austen, Dickens, Conan Doyle), manually annotated for setting (urban, rural, mixed) and perspective (1st or 3rd person). To evaluate the pipeline, the authors used a manually annotated subset of four novels to establish ground-truth conversations.
Analysis of Social Structure
The computational analysis yielded results that contradict established literary theory. There was no evidence that urban settings lead to more fragmented social networks. In fact, as the number of characters in a novel increases, the network tends to become denser rather than fracturing into isolated groups.
The most significant finding is that narrative perspective, not setting, drives network structure. Third-person "omniscient" narrators facilitate highly interconnected networks. In contrast, first-person narratives typically produce "star-shaped" graphs. In these networks, the narrator serves as a central hub, but auxiliary characters rarely interact with one another independently of the narrator.
Key Results
The study's quantitative results highlight the dominance of perspective over setting:
- Setting Impact: No statistically significant difference was found in network density or average degree between urban and rural novels.
- Perspective Impact: Third-person novels showed a statistically significant increase in average degree ($p < .005$), graph density ($p < .05$), and the rate of 3-cliques ($p < .05$) compared to first-person novels.
- Pipeline Performance: The speech adjacency method achieved 95% precision and 51% recall, proving far more effective than co-occurrence-based methods.
Conclusion
This research demonstrates that the "knowable community" is not a function of geography (rural vs. urban) but of narrative technique. The limitations of the current pipeline, particularly its 51% recall, suggest that future work should incorporate indirect and reported speech to capture "off-screen" social connections, especially in first-person narratives where the narrator's perspective is inherently limited.
Summary updated