Python驱动的文本节奏分析:《老人与海》的叙事韵律与情节关联
Python-Driven Analysis of Textual Rhythm: Narrative Rhythm and Its Correlation with Plot Development in The Old Man and the Sea
摘要: 本文立足于数字人文研究背景,尝试将传统文学分析与计算方法相结合,以海明威《老人与海》(The Old Man and the Sea, 1952)这一语言风格高度凝练的经典文本为研究对象,探讨叙事节奏的可量化特征与情节推进之间的内在关系。研究围绕文本节奏的动态变化展开,重点分析句长、标点使用、句式结构及行动动词分布在不同叙事阶段(出海、搏斗、鲨袭与返航)中的差异及其叙事功能。方法上,基于Python构建文本分析流程,对原始文本进行清洗与预处理,并采用滑动窗口切片策略提取多维节奏指标,通过统计与可视化手段刻画节奏演化规律。研究结果表明,文本中节奏突变与情节转折高度对应,整体呈现出“张弛交替、冲突驱动”的叙事韵律特征,且行动动词密度与句长之间存在显著反向变化关系,验证了海明威通过语言节奏强化叙事张力的写作策略,同时也证明了该量化方法在文学节奏研究中的可行性与可复制性。
Abstract: This study is situated within the framework of digital humanities and seeks to integrate traditional literary analysis with computational methods. Taking The Old Man and the Sea (1952) by Ernest Hemingway—a canonical text noted for its highly condensed linguistic style—as the object of inquiry, the research explores the intrinsic relationship between quantifiable features of narrative rhythm and plot progression. Focusing on the dynamic variation of textual rhythm, the study examines differences in sentence length, punctuation usage, syntactic structures, and the distribution of action verbs across distinct narrative phases (departure, struggle, shark attacks, and return), as well as their respective narrative functions. Methodologically, a Python-based text analysis pipeline is constructed to clean and preprocess the original text. A sliding-window segmentation strategy is employed to extract multidimensional rhythmic indicators, which are then analyzed through statistical and visualization techniques to map patterns of rhythmic evolution. The findings indicate a strong correspondence between rhythmic shifts and plot transitions, revealing an overall narrative pattern characterized by alternating tension and release, driven by conflict. Moreover, a significant inverse relationship is observed between action verb density and sentence length. These results not only substantiate Hemingway’s stylistic strategy of enhancing narrative tension through linguistic rhythm but also demonstrate the feasibility and replicability of quantitative approaches in the study of literary rhythm.
文章引用:李龙丹, 陈书鹏. Python驱动的文本节奏分析:《老人与海》的叙事韵律与情节关联[J]. 现代语言学, 2026, 14(5): 613-621. https://doi.org/10.12677/ml.2026.145440

参考文献

[1] Hemingway, E. (1952) The Old Man and the Sea. Scribner.
[2] Baker, C. (1961) Hemingway and His Critics: An International Anthology. Hill and Wang.
[3] 陈静. 评海明威的“冰山”风格——以《老人与海》为例[J]. 教育教学论坛, 2013(45): 278-279.
[4] 王林博, 王蕾.《老人与海》语言风格评析[J]. 传播力研究, 2019, 3(21): 195-196.
[5] 郭文正. 新论英美文学作品的象征意义与语言特色——以《老人与海》为例[J]. 青年文学家, 2020(33): 102-103.
[6] 王艺霖. 探析《老人与海》的象征意义[J]. 明日风尚, 2017(2): 78-79.
[7] Rudnicka, K. (2018) Variation of Sentence Length across Time and Genre: Influence on the Syntactic Usage in English. In: Whitt, R.J., Ed., Diachronic Corpora, Genre, and Language Change, John Benjamins, 220-240. [Google Scholar] [CrossRef
[8] Li, M. (2024) The Practice of Text Structure Mutation Detection Based on Sliding Window in Narrative Research. Digital Humanities Research, 2, 45-56.
[9] Makassees, H.A.A.H. and Motavallian, R. (2025) Manner-of-Motion Verbs and Their Narrative Functions in Gothic fiction: A Case Study of Poe and Jackson. Journal of Researches in Linguistics, 17, 79-88.
[10] 朱寅健. 试论《老人与海》的描写艺术——两个问题: 连词and和重复结构的运用[J]. 上饶师专学报(社会科学版), 1984(4): 53-58.