The "Unhappy" Hypothesis in 19th-Century Literature
Analyzing the emotional landscape of historical literature provides a window into the cultural and societal attitudes of the past. In Scandinavian literary studies, a long-standing theory suggests that female authors during the "Modern Breakthrough" (1870–1900)—a period defined by intense social realism—produced inherently "unhappy" texts. This hypothesis posits that women were documenting their profound disillusionment with a restrictive patriarchal society.
Until recently, this theory was supported primarily by close readings of a few canonical works. This research seeks to test the hypothesis at scale using a data-driven approach, applying sentiment analysis to hundreds of novels to determine if gendered emotional patterns are statistically significant across the era.
Bridging the Gap: From Lexicons to Transformers
Standard Natural Language Processing (NLP) tools often struggle with 19th-century prose due to archaic vocabulary, complex figurative language, and evolving grammatical norms. To address this, researchers compared three distinct methodologies for sentiment classification (Positive, Negative, Neutral):
- Lexicon-based: Utilizing dictionaries with pre-assigned sentiment scores, including Sentida (modern Danish) and English tools like TextBlob and VADER via machine translation.
- Supervised (Zero-shot): Employing pre-trained Danish BERT models without historical domain adaptation.
- Supervised (Fine-tuned): Adapting the Danish Sentiment model (an XLM-RoBERTa variant) by training it on a manually annotated subset of historical texts.
As shown in the performance metrics, the fine-tuned supervised models significantly outperformed traditional lexicon-based methods, achieving an F1-score of 0.72. This demonstrates that transfer learning from modern data (such as social media) to historical prose is highly effective when supplemented with domain-specific guidance.
Data and Annotation
The study utilized the MEMO Corpus, comprising 839 Danish and Norwegian novels totaling over 50 million words. To create a gold-standard benchmark, literary scholars manually labeled a sub-corpus of 2,748 sentences. This dataset was carefully balanced across genders and included both dialogue and narrative descriptions. Despite the inherent difficulty of labeling emotional context—reflected in a moderate inter-annotator agreement (Cohen’s Kappa of 0.59)—this sub-corpus provided the necessary foundation for model fine-tuning.
Findings: The Affective Gap
The results provided a nuanced answer to the "unhappy text" theory. While statistical t-tests confirmed that female authors did indeed produce a higher percentage of negative sentences (36.3% vs. 34.2% for men), the data revealed a broader trend of emotional expressiveness.
Female authors exhibited higher valence in general, utilizing more positive sentiment (28.9% vs. 25.9%) in addition to more negative sentiment. In contrast, male authors tended toward a more "unaffective" or neutral style. This suggests that the "Modern Breakthrough" for women was characterized not just by unhappiness, but by a more intense emotional engagement with their subject matter.
Conclusion and Future Directions
The success of the XLM-RoBERTa model suggests that the underlying emotional "fingerprint" of language remains remarkably stable over time, even as specific vocabulary evolves. However, challenges remain in disentangling the "voices" of a novel—separating the narrator's perspective from character dialogue or irony.
Future research will focus on pre-training language models from scratch on the full 50-million-word MEMO corpus and integrating topic modeling to understand the specific themes (e.g., politics vs. domestic life) that drive these gendered emotional signatures.
Summary updated