Computer Science ›› 2026, Vol. 53 ›› Issue (11A): 260400052-262.doi: 10.11896/jsjkx.260400052

• Artificial Intelligence • Previous Articles     Next Articles

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
  • Online:2026-11-16 Published: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).

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

CLC Number: 

  • 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.
[1] FENG Guang, SUN Xiangli, LIN Yibao, LIU Xinting, CAO Yuqiao, HUANG Junhui, LIAO Beirong. Multimodal Sentiment Analysis Based on Prompt Learning and Guided Gated Fusion Mechanism [J]. Computer Science, 2026, 53(9): 299-308.
[2] ZHU Yuchao, ZHANG Shunxiang, WEN Boyu, SUN Liang, XU Yang. Frequency-augmented and Multi-level Feature Fusion for Image-Text Sentiment Analyzer [J]. Computer Science, 2026, 53(7): 71-79.
[3] ZHAO Jingyun, LIU Keying, GUO Wenke. FIN-GDAN:Sentiment Adversarial Transfer Network for Shanghai Gold Futures News [J]. Computer Science, 2026, 53(6A): 250700179-9.
[4] ZHANG Yongyu, GUO Chenjuan, FEI Xueqin, LI Feng. Study on Financial Text Sentiment Analysis Method Based on Large Language Models with Market Feedback Supervision [J]. Computer Science, 2026, 53(6A): 250500073-14.
[5] KE Changbo, LI Tianhao, ZHANG Bolei, XIAO Fu, XU Kang. Teaching Evaluation Sentiment Analysis Method Based on Capsule Network [J]. Computer Science, 2026, 53(6): 10-18.
[6] SHEN Ao, ZHOU Qingkai, XIA Tian, GAO Ruiling. Span-based Aspect Sentiment Triplet Extraction Based on Multi-view Graph Neural Networks [J]. Computer Science, 2026, 53(5): 319-327.
[7] ZHENG Cheng, BAN Qingqing. Knowledge-assisted and Reinforced Syntax-driven for Aspect-based Sentiment Analysis [J]. Computer Science, 2026, 53(4): 406-414.
[8] TAN Pingping, XU Ji, LI Yijun, WANG Hai. Dynamic Interaction Dual-channel Graph Attention Network for Chinese and English SarcasmDetection [J]. Computer Science, 2026, 53(2): 300-311.
[9] ZHANG Haijun, REN Linhao, ZHAO Xinyuan. Kazakh Aspect-based Sentiment Analysis Method Based on Adversarial Training and Dynamic Masked Attention [J]. Computer Science, 2026, 53(11A): 260700056-251.
[10] LUO Xiaomin, DU Jiali. FinMECAT:Multi-mechanism Cooperative Model for Financial Sentiment Analysis [J]. Computer Science, 2026, 53(11A): 251200046-306.
[11] CAI Guoyong, LI Wenlong, WANG Shunjie. Survey on Multimodal Conversational Emotion Recognition [J]. Computer Science, 2026, 53(11A): 251200044-97.
[12] XU Hongyan, MENG Xiangrui, WANG Rongbing, FENG Yong. Dual-channel Hypergraph Convolutional Network for Aspect-based Sentiment Analysis [J]. Computer Science, 2026, 53(11): 124-138.
[13] LI Qiao, WEI Yibiao, ZOU Jie, YANG Yang. Emotion-aware Retrieval-augmented Generation Model for Role-playing Language Agents [J]. Computer Science, 2026, 53(10): 277-284.
[14] BU Yunyang, QI Binting, BU Fanliang. Multimodal Sentiment Analysis for Interactive Fusion of Dual Perspectives Under Cross-modalInconsistent Perception [J]. Computer Science, 2026, 53(1): 187-194.
[15] GAO Long, LI Yang, WANG Suge. Sentiment Classification Method Based on Stepwise Cooperative Fusion Representation [J]. Computer Science, 2025, 52(9): 313-319.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!