用程序分析《霍比特人》对话情绪,发现故事渐进增强掌控感。
Quantifying Emotional Tone in Tolkien's The Hobbit: Dialogue Sentiment Analysis with RegEx, NRC-VAD, and Python
- 用正则表达式提取对话,结合NRC-VAD词典量化情绪维度。
- 对话整体偏积极且平静,随剧情推进掌控感逐渐上升。
- 适合对文学情感结构或计算人文感兴趣的读者。
本研究通过计算文本分析方法,对托尔金1937年著作《霍比特人》中的对话情绪基调进行量化分析。使用正则表达式提取对话内容,经预处理后,利用NRC-VAD词典对情绪维度进行评分。结果显示,对话整体呈现高愉悦度(高valence)与低唤醒度(低arousal)特征,随着故事推进,掌控感(dominance)逐步增强。这种情绪模式体现了小说的情感节奏:危险与紧张时刻被幽默、友情与释然所平衡。可视化手段(如情绪轨迹图、词云)揭示了托尔金语言在张力与舒适之间循环往复的特征。该研究展示了数字方法如何揭示文学中微妙的情绪结构,揭示《霍比特人》叙事中持续的情感调节机制。
原文摘要 · Abstract (English)
This study analyzes the emotional tone of dialogue in J. R. R. Tolkien's The Hobbit (1937) using computational text analysis. Dialogue was extracted with regular expressions, then preprocessed, and scored using the NRC-VAD lexicon to quantify emotional dimensions. The results show that the dialogue maintains a generally positive (high valence) and calm (low arousal) tone, with a gradually increasing sense of agency (dominance) as the story progresses. These patterns reflect the novel's emotional rhythm: moments of danger and excitement are regularly balanced by humor, camaraderie, and relief. Visualizations -- including emotional trajectory graphs and word clouds -- highlight how Tolkien's language cycles between tension and comfort. By combining computational tools with literary interpretation, this study demonstrates how digital methods can uncover subtle emotional structures in literature, revealing the steady rhythm and emotional modulation that shape the storytelling in The Hobbit.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。