Skip to content

Commit

Permalink
修訂廣韻資料庫資料
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanJui committed Nov 1, 2024
1 parent 5d04652 commit 5cf3d6a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
Binary file modified Documents/廣韻/D300_廣韻_V6.xlsx
Binary file not shown.
Binary file modified Kong_Un.db
Binary file not shown.
4 changes: 3 additions & 1 deletion mod_廣韻.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def Kong_Un_Tng_Tai_Loo(廣韻調名):
"清去": 3,
"清入": 4,
"濁平": 5,
"濁上": 6,
"濁上": 2,
"濁去": 7,
"濁入": 8
}
Expand Down Expand Up @@ -330,6 +330,8 @@ def split_zu_im(zu_im):
un_bu = zu_im[:-1] # 韻母是剩下的部分,去掉最後的聲調

tiau = zu_im[-1] # 最後一個字符是聲調
if tiau == '6':
tiau = '2' # 將 6 轉換為 2

result += [siann_bu]
result += [un_bu]
Expand Down
Binary file modified output5/【河洛話注音】正氣歌【廣韻讀音】.xlsx
Binary file not shown.

0 comments on commit 5cf3d6a

Please sign in to comment.