diff --git a/build.py b/build.py index 6c79c96..8621de4 100644 --- a/build.py +++ b/build.py @@ -172,7 +172,10 @@ def main(): f'patching 小韻 #{原書小韻號}/{小韻字號} 字 "{patch.原字頭}", but the actual 字 is "{字頭}"' ) patch_coverage.add(字序_key) - if patch.校正字頭 and patch.校正字頭 != '~': + assert patch.校正字頭, ( + f'patching 小韻 #{原書小韻號}/{小韻字號} 字 "{patch.原字頭}", but 校正字頭 is not given' + ) + if patch.校正字頭 != '~': corrected = patch.校正字頭 if corrected.startswith('['): if corrected[-2] == '-': @@ -181,7 +184,14 @@ def main(): else: assert not patch.當刪說明 corrected = corrected[-2] + if corrected == '~': + assert 字頭 + corrected = 字頭 字頭 = corrected + if patch.當刪說明: + assert patch.校正字頭.endswith('/-]'), ( + f'patching 當刪說明 on 小韻 #{原書小韻號}/{小韻字號} 字 "{patch.原字頭}", but 校正字頭 is not marked for removal' + ) if patch.校正釋義 or patch.原釋義: assert patch.原釋義 == 釋義, ( diff --git a/src/patches.csv b/src/patches.csv index d7c21bb..61c22c6 100644 --- a/src/patches.csv +++ b/src/patches.csv @@ -2,19 +2,22 @@ 11,2,,融,,上同,,上,,左下為「𢆉」形,poem表因未入U而缺 130,4,襹,~,襹毛羽衣皃,𧞬襹毛羽衣皃,,,,poem表承「宋本廣韻データ」用 PUA 字元 U+EE42,當為 U+277AC「𧞬」 177,6,,𢊿,,上同,,上,,poem表作「⿸广⿳𥫗⺫攵」,因未入U而缺 -213,12,婔,[婔/-],,,,,當入霏紐,周祖謨校 -231,13,㶛,[㶛/-],,,,,本紐重出當刪,周祖謨校 +213,12,婔,[~/-],,,,,當入霏紐,周祖謨校 +231,13,㶛,[~/-],,,,,本紐重出當刪,周祖謨校 318,1,攜,~,提也離也又姓出何氏姓苑戶圭切二十四三,提也離也又姓出何氏姓苑{戶圭}切二十[四/三],,,,poem表釋義誤錄 511,3,𩁚,𩁢,,,,,,poem表兩字形顛倒 511,4,𩁢,𩁚,,,,,,poem表兩字形顛倒 +597,1,𤜼,[~/-],,,,,「犳」(章開三陽入)之訛字,無效小韻 +646,1,𡰝,[~/-],,,,,「𡰖」之音,「𡰢」(匣合四齊平)之訛字,無效小韻 949,9,䔖,~,,,,上,,poem表遺漏釋義補充 961,1a1,,嬹,,女字,,,,周祖謨補 -1380,2,皷,[皷/鼓],說文曰郭也春分之音萬物郭皮甲而出故謂之皷周禮六皷靁皷靈皷路皷鼖皷鼛皷晉皷亦作鼔,說文曰郭也春分之音萬物郭皮甲而出故謂之鼓周禮六鼓靁鼓靈鼓路鼓鼖鼓鼛鼓晉鼓亦作𡔷,,,,周祖謨校;poem表此二字認同有誤 +1380,2,皷,[~/鼓],說文曰郭也春分之音萬物郭皮甲而出故謂之皷周禮六皷靁皷靈皷路皷鼖皷鼛皷晉皷亦作鼔,說文曰郭也春分之音萬物郭皮甲而出故謂之鼓周禮六鼓靁鼓靈鼓路鼓鼖鼓鼛鼓晉鼓亦作𡔷,,,,周祖謨校;poem表此二字認同有誤 1380,3,鼓,鼔,說文曰擊皷也,說文曰擊鼓也,,,,poem表此二字認同有誤 1619,2,𤣗,~,𤣗,,,下,,poem表釋義誤錄 1883,2,,⿱𱡘正,,俗,,上,,poem表因未入U而缺 -1929,11,𦱙,[𦱙/莥],蔨實亦作𦶆,蔨實亦作[莥/𦱙],,,,周祖謨校 -2046,17,𣄉,[𣄉/𣃳],掩光又於葉切,[掩光/掩也]又於葉切,,,,周祖謨校;《形聲考》云蓋為「掩」之變 +1929,11,𦱙,[~/莥],蔨實亦作𦶆,蔨實亦作[莥/𦱙],,,,周祖謨校 +2021,1,㶒,[~/-],,,,,「㴸」之音,「㶒」(書開三侵上)之字,無效小韻 +2046,17,𣄉,[~/𣃳],掩光又於葉切,[掩光/掩也]又於葉切,,,,周祖謨校;《形聲考》云蓋為「掩」之變 2369,1,計,~,籌計說文會也筭也又姓後漢有計子古詣切十二,籌計說文會也筭也又姓後漢有計子勳{古詣切}十二,,,,poem表承「宋本廣韻データ」用 PUA 字元 U+ECE0,當為 U+52F3「勳」 2988,1,盛,~,多也長也又姓後漢西羌傳有北海太守盛苞其先姓奭避元帝諱改姓盛承正切又音成三,多也長也又姓後漢西羌傳有北[海/地]太守盛苞其先姓奭避元帝諱改姓盛{承正}切又音成三,,,,周祖謨校 3113,1,馾,~,冠幘一曰馬步近前丁紺切三,[冠幘一曰馬步近前/馬睡皃]{丁紺}切[三/四],,,,周祖謨校 @@ -22,10 +25,11 @@ 3276,15,,⿰隺犬,,至也高也,,,,poem表因未入U而缺 3291,7,,⿱芖雨,,俗,,上,,poem表作「⿱共雨」,因未入U而缺 3292,2,鷝,鵯,,,,,,poem表誤校;此實為偽字,保持原樣即可 +3373,1,𣅝,[~/-],,,,,「突」之音,「𠬛」(明一魂入)之訛字,無效小韻 3389,4,紇,~,絲下也又孔子父名又虜複姓三氏北齊開府紇奚永樂又有紇干氏紇骨氏又虜三字姓後魏有賊師紇豆陵伊利又胡結切,絲下也又孔子父名又虜複姓三氏北齊開府紇奚永樂又有紇[干/于]氏紇骨氏又虜三字姓後魏有賊師紇豆陵伊利又胡結切,,,,周祖謨校;poem表承「宋本廣韻データ」誤錄 3390,1,搰,~,掘地也戶骨切于十,掘地也{戶骨}切[十一/十],,,,周祖謨校;poem表承「宋本廣韻データ」誤錄 3390,4,𦗣,~,耳黧,耳聲,,,,周祖謨校;《形聲考》云此字當為戶骨⦅兀⦆<瓦>切為「𦖍」(下瓦反)字之訛 -3390,5,𦖼,[𦖼/-],,,,,,周祖謨校 -3829,5,𣄉,[𣄉/𣃳],掩光名掩也,[掩光名/掩也],,,,周祖謨校;《形聲考》云蓋為「掩」之變 +3390,5,𦖼,[~/-],,,,,,周祖謨校 +3829,5,𣄉,[~/𣃳],掩光名掩也,[掩光名/掩也],,,,周祖謨校;《形聲考》云蓋為「掩」之變 3829,6,厭,~,厭伏亦惡夢又於琰切六,厭伏亦惡夢又於琰切[六/-],,,,周祖謨校;poem表誤錄 3830,6,貼,~,以物之質錢,以物[之/-]質錢,,,,周祖謨校;poem表誤錄 diff --git "a/\351\237\273\346\233\270/\345\273\243\351\237\273.csv" "b/\351\237\273\346\233\270/\345\273\243\351\237\273.csv" index 1008cef..44ebe19 100644 --- "a/\351\237\273\346\233\270/\345\273\243\351\237\273.csv" +++ "b/\351\237\273\346\233\270/\345\273\243\351\237\273.csv" @@ -5251,7 +5251,7 @@ 595,13,先,匣合四先平,胡涓,訇,,說文云漢中西城有訇鄉, 596,1,先,曉開四先平,呼煙,祆,,胡神官品令有祆正呼煙切二, 596,2,先,曉開四先平,呼煙,訮,,訶也怒也, -597,1,先,章開三陽入,崇,𤜼,,獸似豹而少文崇玄切一, +597,1,先,章開三陽入,崇,𤜼,「犳」(章開三陽入)之訛字,獸似豹而少文崇玄切一, 598,1,仙,心開三仙平,相然,仙,,神仙釋名曰老而不死曰仙仙遷也遷入山也故字從人旁山相然切十二, 598,2,仙,心開三仙平,相然,僊,,上同又僊僊舞皃,上 598,3,仙,心開三仙平,相然,𠑗,,古文,上 @@ -5600,7 +5600,7 @@ 644,1,仙,影合三B仙平,於權,𡣬,,娥眉皃於權切二, 644,2,仙,影合三B仙平,於權,潫,,水深皃, 645,1,仙,昌開三仙平,尺延,燀,,火起皃尺延切一, -646,1,仙,端開四齊平,丁全<兮>,𡰝,,行不正皃丁全切一, +646,1,仙,端開四齊平,丁全<兮>,𡰝,「𡰖」之音,「𡰢」(匣合四齊平)之訛字,行不正皃丁全切一, 647,1,仙,見合三B仙平,居員,勬,,強健也居員切一, 648,1,蕭,心開四蕭平,蘇彫,蕭,,蒿也詩云采蕭穫菽亦縣名在沛郡新語云蕭斧名又姓出蘭陵廣陵二望本自宋支子食采於蕭後因爲氏漢侍中蕭彪始居蘭陵彪玄孫望之居杜陵望之孫紹復還蘭陵紹十一代孫整始過江爲廣陵人風俗通云宋樂叔以討南宮萬立御說之功受封於蕭列附庸之國漢相國蕭何即其後氏也蘇彫切十六, 648,2,蕭,心開四蕭平,蘇彫,簫,,樂器風俗通云舜作簫其形參差以象鳳翼, @@ -14287,7 +14287,7 @@ 2020,5,敢,見開一談上,古覽,橄,,橄欖果木名出交阯, 2020,6,敢,見開一談上,古覽,澉,,澉䭕食無味, 2020,7,敢,見開一談上,古覽,䇞,,竹名實中, -2021,1,敢,書開三鹽上,賞敢,㶒,,果決勇也賞敢切一, +2021,1,敢,書開三鹽上,賞敢,㶒,「㴸」之音,「㶒」(書開三侵上)之字,果決勇也賞敢切一, 2022,1,敢,來開一談上,盧敢,覽,,視也又姓何氏姓苑云彭城人盧敢切六, 2022,2,敢,來開一談上,盧敢,爁,,火爁, 2022,3,敢,來開一談上,盧敢,擥,,手擥取, @@ -21562,7 +21562,7 @@ 3372,4,沒,明一魂入,莫勃,𩑦,,內頭水中又烏沒切, 3372,5,沒,明一魂入,莫勃,𠬛,,說文曰入水有所取也, 3372,6,沒,明一魂入,莫勃,莈,,草, -3373,1,沒,透合一魂入,土骨,𣅝,,入水又出皃土骨切一, +3373,1,沒,透合一魂入,土骨,𣅝,「突」之音,「𠬛」(明一魂入)之訛字,入水又出皃土骨切一, 3374,1,沒,見合一魂入,古忽,骨,,說文曰肉之覈也尸子曰徐偃王有筋無骨亦見史記又姓古忽切十六, 3374,2,沒,見合一魂入,古忽,縎,,縎結, 3374,3,沒,見合一魂入,古忽,鶻,,鶻鳩又搰猾二音,