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.
翻译:本研究运用计算文本分析方法,对J. R. R. 托尔金《霍比特人》(1937)中的对话情感基调进行解析。通过正则表达式提取对话文本,经预处理后,采用NRC-VAD情感词典对情感维度进行量化评分。结果表明:全书对话整体保持积极(高效价)与平和(低唤醒)的基调,且随着情节推进,主体能动性(支配感)逐渐增强。这一模式呼应了小说的情感节奏——危险与紧张时刻常通过幽默、 camaraderie(同伴情谊)与舒缓情节达到平衡。情感轨迹图与词云等可视化结果突显了托尔金语言在张力与慰藉间的循环特征。通过计算工具与文学阐释的结合,本研究揭示了数字方法如何挖掘文学作品中的微妙情感结构,进而展现《霍比特人》叙事中稳定的情感节奏与调节机制。