Abstract:This study utilizes two representative works of Southern Dynasties mountain-dwelling literature—Shanju Fu by Xie Lingyun and Dongyang Jinhua Shanqi Zhi by Liu Jun—as case studies to explore the construction of mountain-dwelling spatial imagery through the semantic features revealed within the texts’ distinctive stylistic elements. Employing digital humanities methods, it quantitatively analyzes sentence structures and extracts key terminology to elucidate distinctions in rhetorical strategies, spatial representation logic, and textual development between the two works. The study examines how these linguistic styles infl uence the depiction of spatial imagery associated with mountain dwellings. It posits that although literary genre does not solely determine the portrayal of mountain-dwelling objects, it exerts a signifi cant infl uence on the creation of spatial atmosphere. Fu employs rich contrastive rhetoric and layered spatial semantics to construct a coexisting network space of “human–nature,” whereas Zhi utilizes concise language to accentuate a path-like spatial rhythm. The data-driven approach reveals how the spatial cognition and constructive thinking of the literati are expressed through textual semantics. This research off ers a perspective on translating the spatial awareness of the literati into textual form, providing new insights into the application of digital humanities to the study of classical architecture and garden literature.