🤖 AI Summary
This study addresses the challenge of automatically compiling interlinear commentaries and organizing classical Chinese exegetical knowledge by proposing a computable framework that accounts for contextual dependencies. The approach models commentary compilation as a natural language processing task, employing a two-stage prompting pipeline to identify both the source text segments referenced by each annotation and their hermeneutic functions. Cross-version mention clustering is further leveraged to integrate annotations from multiple sources. This work achieves the first structured transformation of traditional Confucian exegesis into a machine-readable format, attaining over 97% CoNLL F1 score in a case study on the *Classic of Mountains and Seas*, thereby laying the groundwork for large-scale automated organization of classical exegetical knowledge and computational sinological research.
📝 Abstract
Inline notes and collected commentaries are important forms of scholarly communication that evolved within the Confucian exegetical tradition, yet have received little computational attention. Drawing on traditional Chinese exegetics and philology, this paper formulates collected commentary compilation as an NLP task and proposes a computational framework that preserves the contextual dependency of inline notes while enabling their automatic compilation and exegetical knowledge organization. It combines two-step prompt chaining for identifying the associated main-text segments and exegetical functions of annotations with cross-source mention clustering for integrating commentary across editions, achieving a CoNLL F1 score above 97% in a case study on the Classic of Mountains. Our framework lays the foundation for the large-scale organization of historical exegetical knowledge, thereby supporting a broad range of downstream philological and NLP tasks.