计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260400052-262.doi: 10.11896/jsjkx.260400052

• 人工智能 • 上一篇    下一篇

面向长篇叙事文本的情感拓扑计算框架及其在跨文化文学分析中的应用

李晓1,2, 韩张蕊1   

  1. 1 中国政法大学法治信息管理学院 北京 102249
    2 中国政法大学证据科学教育部重点实验室 北京 100088
  • 出版日期:2026-11-16 发布日期:2026-11-16
  • 通讯作者: 李晓(lixiao@cupl.edu.cn)
  • 基金资助:
    国家重点研发计划(2022YFC3303000,2022YFC3303001);教育部产学合作协同育人项目(241100007150419);中国政法大学青年教师学术创新研究团队项目(25CSTD01)

Computational Framework for Emotional Topology of Long Narrative Texts and Its Application in Cross-cultural Literary Analysis

LI Xiao1,2, HAN Zhangrui1   

  1. 1 School of Information Management for Law,China University of Political Science and Law,Beijing 102249,China
    2 Key Laboratory of Evidence Science(China University of Political Science and Law),Ministry of Education,Beijing 100088,China
  • Published:2026-11-16 Online:2026-11-16
  • About author:LI Xiao,born in 1986,Ph.D,associate professor.His main research interests include legal artificial intelligence and big data in criminal psychology.
  • Supported by:
    This work was supported by the National Key Research and Development Program of China(2022YFC3303000,2022YFC3303001),Ministry of Education Industry-Academia Cooperation Collaborative Education Project(241100007150419) and China University of Political Science and Law Young Teachers’ Academic Innovation Research Team Project(25CSTD01).

摘要: 跨文化文学计算比较研究长期面临分段策略粗糙、特征体系单一及统计推断不严谨等方法论缺陷。对此,提出情感拓扑分析框架(ETAF),将自适应分段策略(ASS)、12维情感拓扑特征体系与严格统计推断流程有机整合,系统开展英美经典小说的跨文化情感比较研究。ASS以自然段落边界为优先切分依据,并在段落密度不足时引入自适应滑动窗口补全,时间复杂度为O(n),在101部英美经典小说语料库上成功处理98部,平均产生30.4个有效分段。12维特征体系涵盖基础统计、分布形态、动态结构与极性比率4类维度,相较于仅使用均值与标准差的双维方案具有更强的叙事信息表达力。统计推断层面引入Bonferroni多重比较校正、Cohen’s d效应量估计与TOST等价性检验。实证结果表明:三项文化差异假设(情感波动性H1:d=0.182,p=0.370;情感范围H2:d=0.179,p=0.379;平均情感倾向H3:d=-0.268,p=0.188)在Bonferroni校正阈值α′=0.017下均未达统计显著,当前每组约50部小说的样本规模下统计功效均低于26%,结论的不确定性源于样本规模局限而非实质性的“无差异”宣告。K-means聚类分析(k=2,轮廓系数0.417 7)将叙事情感弧线区分为积极稳定型(n=79,占80.6%)与中性波动型(n=19,占19.4%)两类原型,聚类归属与国别完全独立(χ2=0.04,p=0.84),但与文体类型密切相关——体裁规范对叙事情感结构的约束力显著超过文化地域效应。消融实验与基线对比进一步验证了VADER相对于TextBlob的下游聚类优势(轮廓系数0.417 7 vs.0.316 4)以及ASS相对于TextTiling的时间效率优势(约为后者的1/5)。

关键词: 数字人文, 情感分析, 叙事拓扑, 计算批评, 英美文学, 文化差异假说

Abstract: Cross-cultural computational literary comparison has long suffered from methodological shortcomings including coarse segmentation strategies,impoverished feature systems,and insufficient statistical rigor.This paper proposes ETAF(Emotional Topology Analysis Framework),which integrates an adaptive segmentation strategy(ASS),a 12-dimensional emotional topology feature system,and a rigorous statistical inference pipeline to systematically compare narrative sentiment patterns across British and American canonical novels.ASS prioritizes natural paragraph boundaries as segmentation points,supplementing with an adaptive sliding window when paragraph density is insufficient,achieving O(n) time complexity.When applied to a corpus of 101 British and American canonical novels,ASS successfully processes 98 texts and generates an average of 30.4 valid segments per novel.The 12-dimensional feature system spans four categories—basic statistics,distributional shape,dynamic structure,and polarity ratio-offering substantially richer narrative representation than the conventional mean-variance approach.Statistical infe-rence incorporates Bonferroni correction for multiple comparisons,Cohen’s d effect size estimation,and TOST equivalence testing.Empirical results show that all three cultural-difference hypotheses-emotional volatility(H1:d=0.182,p=0.370),emotional range(H2:d=0.179,p=0.379),and mean sentiment(H3:d=-0.268,p=0.188)-fail to reach statistical significance under the corrected threshold α′=0.017,with statistical power below 26% at the current sample size of approximately 50 texts per group.K-means clustering(k=2,silhouette score=0.417 7) identifies two narrative sentiment archetypes:Positive-Stable(n=79,80.6%) and Neutral-Volatile(n=19,19.4%).Cluster membership is statistically independent of national origin(χ2=0.04,p=0.84) but strongly associated with genre,indicating that generic conventions exert a substantially greater influence on narrative emotional structure than cultural geography.Ablation experiments confirm VADER’s advantage over TextBlob in downstream clustering quality(silhouette 0.417 7 vs.0.316 4),and comparative benchmarks demonstrate ASS’s time efficiency over TextTiling(approximately one-fifth of the runtime).

Key words: Digital humanities, Sentiment analysis, Narrative topology, Computational criticism, British and American literature, Cultural difference hypothesis

中图分类号: 

  • TP391
[1] PIPER A.Enumerations:Data and Literary Study[M].Chicago:University of Chicago Press,2021.
[2] ELIOT T S.On Poetry and Poets[M].London:Faber and Faber,1957.
[3] MORETTI F.Distant Reading[M].London:Verso Books,2013.
[4] YAN C,LI B.Literary Text Analysis Based on Affective Computing:Methods and Case Studies [J].Digital Humanities Research,2023,3(2):1-15.
[5] HEWITT R.The Cambridge Companion to Victorian Women’s Writing[M].Cambridge:Cambridge University Press,2015.
[6] CAO C X.Bridging and Bonding[D].Shanghai:Shanghai International Studies University,2021.
[7] REDDY W M.The Navigation of Feeling:A Framework for the History of Emotions[M].Cambridge:Cambridge University Press,2001.
[8] HEMMINGS C.Invoking affect:Cultural theory and the onto-logical turn[J].Cultural Studies,2005,19(5):548-567.
[9] OATLEY K.The Passionate Muse:Exploring Emotion in Stories[M].Oxford:Oxford University Press,2012.
[10] KEEN S.Empathy and the Novel[M].Oxford:Oxford University Press,2007.
[11] LONG J Q.Application and Reflection of Digital Humanities Methodology:An Analysis of the Award-winning Projects for “Best COVID-19 Response”[J].Library Tribune,2024,44(4):104-114.
[12] TUFTE E R.The Visual Display of Quantitative Information(2nd ed)[M].Cheshire:Graphics Press,2001.
[13] REAGAN A J,MITCHELL L,KILEY D.et al.The emotional arcs of stories are dominated by six basic shapes[J].EPJ Data Science,2016,5(1):1-12.
[14] KIM E,KLINGER R.A survey on sentiment and emotion analysis for computational literary studies[PP/OL].arXiv(2018-08-09)[2026-10-15].http://arxiv.org/abs/1808.03137.
[15] BAMMAN D,UNDERWOOD T,SMITH N A.An annotated dataset of literary entities[C]//Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics.2019:560-565.
[16] REN D S,ZHU H Y.A Cognitive Narratological Study of Sidney Shapiro’s Selective Translation of Plain Flames[J].Journal of PLA University of Foreign Languages,2021,44(4):125-132,160.
[17] MORETTI F.Graphs,Maps,Trees:Abstract Models for a Li-terary History[M].London:Verso,2005.
[18] UNDERWOOD T.Distant Horizons:Digital Evidence and Lite-rary Change[M].Chicago:University of Chicago Press,2019.
[19] ZHAO W.A Quantitative Study of Literary Styles of Modern Chinese Writers from the Perspective of Digital Humanities [J].Literary Review,2022(3):45-55.
[20] HUTTO C,GILBERT E.VADER:A parsimonious rule-basedmodel for sentiment analysis of social media text[C]//Procee-dings of the 8th International Conference on Weblogs and Social Media.Palo Alto:AAAI Press,2014:216-225.
[21] JOCKERS M L.Macroanalysis:Digital Methods and Literary History[M].Urbana:University of Illinois Press,2014.
[22] PIPER A.Do we know what we are doing? Reflections on the role of computational methods in literary studies[J].Journal of Cultural Analytics,2020,5(1):1-13.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!