Hidden Signals in Dream of the Red Chamber: A Computational Text Analysis of Edition Layers, Writers’ Habits and Plot Turns

Authors

  • Weixiang Gan Lincoln University College, Petaling Jaya 47301, Malaysia Author
  • Mengfei Xiao* Lincoln University College, Petaling Jaya 47301, Malaysia Author
  • Jialin Liu Taylor’s Business school, Taylor’s university, Subang Jaya 47500, Malaysia Author
  • Tenghao Chen Taylor’s Business school, Taylor’s university, Subang Jaya 47500, Malaysia Author
*Corresponding email: gabriel1995@qq.com

Abstract

This article tests whether the stylistic break between the first 80 and the last 40 chapters of Dream of the Red Chamber can be told apart from the splicing of editions. Diagnostic variants and 8-gram overlap show that Project Gutenberg e-text No. 24264 carries Zhiyan-recension text in chapters 1 to 80 except 67. They also show that it carries Cheng-recension text in chapter 67 and chapters 81 to 120. Therefore, every test was repeated on Wikisource transcriptions of the Cheng A and Cheng B prints. Thirty-four masked function characters enter leave-one-chapter-out classification. The analysis also includes an energy-statistic change point, block permutation, a sentence-block bootstrap, and a trend-versus-step comparison. Character networks and an audited emotion lexicon serve as plot-level checks. In all three texts, the single change point falls after chapter 80 (block permutation p≤0.004). The leave-one-chapter-out area under the Receiver Operating Characteristic (ROC) curve is 0.983-0.988. Effect sizes correlate at 0.99 between the e-text and Cheng A. The share of 笑道 (“said with a smile”) among quotations falls from about 36.00% to about 7.00%. Seven or eight of chapters 81 to 91 lean toward the earlier style. Sadness words turn after chapter 94 and household figures gain brokerage in the last 40 chapters, neither at chapter 80. In the Cheng prints the break-location interval is wide, and 嗎 and 林黛玉 are edition-sensitive. Authorship notes of annotated editions can cite these edition-specific results, and digital classics should carry base-text and conversion metadata.

0 0

References

References

[1] Yu, Y., Liu, W., Feng, Y. (2022) A quantitative study on Dream of the Red Chamber: word-length distribution and authorship attribution. Complexity, 2022(1), 9077360.

[2] Hu, X., Wang, Y., Wu, Q. (2014) Multiple authors detection: a quantitative analysis of Dream of the Red Chamber. Advances in Adaptive Data Analysis, 6(4), 1450012.

[3] Matteson, D. S., James, N. A. (2014) A nonparametric approach for multiple change point analysis of multivariate data. Journal of the American Statistical Association, 109(505), 334-345.

[4] Zhu, H., Lei, L., Craig, H. (2021) Prose, verse and authorship in Dream of the Red Chamber: a stylometric analysis. Journal of Quantitative Linguistics, 28(4), 289-305.

[5] Zhao, L., Shi, J., Zhang, C., Liu, Z. (2025) Authorship detection on classical Chinese text using deep learning. Applied Sciences, 15(4), 1677.

[6] Burrows, J. (2002) “Delta”: a measure of stylistic difference and a guide to likely authorship. Literary and Linguistic Computing, 17(3), 267-287.

[7] Evert, S., Jannidis, F., Proisl, T., Reger, I., Pielström, S., Schöch, C., Vitt, T. (2017) Understanding and explaining Delta measures for authorship attribution. Digital Scholarship in the Humanities, 32(Suppl. 2), ii4-ii16.

[8] Plecháč, P. (2021) Relative contributions of Shakespeare and Fletcher in Henry VIII: an analysis based on most frequent words and most frequent rhythmic patterns. Digital Scholarship in the Humanities, 36(2), 430-438.

[9] Peksoy, E. (2026) Who wrote the penultimate chapter of The Female Quixote: a stylometric authorship attribution study. Digital Scholarship in the Humanities, 41(3), 1579-1593.

[10] Yang, Y., Lyu, G. (2025) A stylometric analysis on authorship attribution of Marriage Bonds to Awaken the World. Humanities and Social Sciences Communications, 12(1), 1822.

[11] Da, N. Z. (2019) The computational case against computational literary studies. Critical Inquiry, 45(3), 601-639.

[12] Hill, M. J., Hengchen, S. (2019) Quantifying the impact of dirty OCR on historical text analysis: Eighteenth Century Collections Online as a case study. Digital Scholarship in the Humanities, 34(4), 825-843.

[13] Chan, K. Y. (2020) Love in dreams and illusions: fate and prognostication in Hongloumeng. Comparative Literature: East and West, 4(1), 28-44.

[14] Zhao, E. Y. (2023) The known ending: narrative closure and reading experience in Dream of the Red Chamber. International Communication of Chinese Culture, 10(2-4), 171-179.

[15] Seng, Y. C. (2016) A study on homophonic and puns in Dream of the Red Chamber. Journal of Chinese Literature and Culture, 4(2), 85-95.

[16] Benjamini, Y., Hochberg, Y. (1995) Controlling the false discovery rate: a practical and powerful approach to multiple testing. Journal of the Royal Statistical Society: Series B (Methodological), 57(1), 289-300.

[17] Eder, M. (2016) Rolling stylometry. Digital Scholarship in the Humanities, 31(3), 457-469.

[18] Clauset, A., Newman, M. E. J., Moore, C. (2004) Finding community structure in very large networks. Physical Review E, 70(6), 066111.

[19] Moretti, F. (2011) Network theory, plot analysis. New Left Review, 68, 80-102.

[20] Huang, B., Chen, C., Shu, K. (2025) Authorship attribution in the era of LLMs: problems, methodologies, and challenges. ACM SIGKDD Explorations Newsletter, 26(2), 21-43.

Downloads

Published

2026-11-09

Issue

Section

Digital and Media Perspectives

How to Cite

Gan, W., Xiao, M., Liu, J., Chen, T. (2026) Hidden Signals in Dream of the Red Chamber: A Computational Text Analysis of Edition Layers, Writers’ Habits and Plot Turns. Digital and Media Perspectives, 1(2), 31-44. https://igipub.com/article/view/35