LingData | Linguistic Datasets - Digital Humanities
type: channel
link: https://lingdata.org/tag/Digital-Humanities/
items: Tang Poetry and Song Ci: Several exciting digital humanistic projects

Tang Poetry and Song Ci: Several exciting digital humanistic projects
type: item
date: 2021-03-26T02:29:00+00:00
description: This article will show three exciting digital humanistic projects in Tang Poetry and Song Ci. Two of them are from Visual Team in Zhejiang University, and one is from Lingdong Huang.Discovering magic squares in Tang Dynasty poemsby Lingdong Huang 发现唐诗中的“幻方(纵横图)”https://github.com/LingDong-/magic-square-poemsObserve the above 5x5 matrix of Chinese characters: when read horizontally, it consists of five lines from five different poems, and so does it when read vertically, of the exact same lines. I call it the magic square of Chinese poems. With a brute-force-search over 287,000 lines from the Complete Collection of Tang Dynasty Poems, I discovered 2 such sets. You can reproduce my results by running "gcc -O3 mgsq5.c; ./a.out".風月清江夜 月出夜山深 清夜方歸來 江山歸謝客 夜深來客稀