Skip to content

Commit

Permalink
Fix 釋義補充 for 菱 & 䔖 (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
syimyuzya committed Sep 5, 2024
1 parent 2cfa9e4 commit c17e506
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ def main():
assert not diff, f'字頭 listed in 小韻細分_data but not seen: {"".join(sorted(diff))} (小韻 #{小韻號})'

for 條目 in 廣韻_data:
key = 條目[1][0], 條目[1][5]
key = 條目[1][0], 條目[1][6]
if (patch := 釋義補充_patch_to.get(key)) is not None:
assert not 條目[1][7], f'條目 already containing 釋義補充: {條目[1]}'
條目[1][7] = 釋義補充_patch_from[(patch[0], patch[1])][patch[2]]
assert not 條目[1][8], f'條目 already containing 釋義補充: {條目[1]}'
條目[1][8] = 釋義補充_patch_from[(patch[0], patch[1])][patch[2]]

廣韻_data.sort(key=lambda x: x[0])

Expand Down
4 changes: 2 additions & 2 deletions 韻書/廣韻.csv
Original file line number Diff line number Diff line change
Expand Up @@ -8247,8 +8247,8 @@
949,5,蒸,來開三蒸平,力膺,,凌,冰凌,
949,6,蒸,來開三蒸平,力膺,,𠗲,上同,冰凌
949,7,蒸,來開三蒸平,力膺,,蔆,芰也,
949,8,蒸,來開三蒸平,力膺,,菱,,
949,9,蒸,來開三蒸平,力膺,,䔖,並同,
949,8,蒸,來開三蒸平,力膺,,菱,,芰也
949,9,蒸,來開三蒸平,力膺,,䔖,並同,芰也
949,10,蒸,來開三蒸平,力膺,,㥄,怜也,
949,11,蒸,來開三蒸平,力膺,,鯪,臨海風土記曰鯪魚腹背皆有刺如三角蔆也,
949,12,蒸,來開三蒸平,力膺,,崚,崚嶒山皃,
Expand Down

0 comments on commit c17e506

Please sign in to comment.