Skip to content

Commit

Permalink
新增韻母與羅馬拼音對照
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanJui committed Mar 11, 2024
1 parent bec1087 commit e6ae5e7
Show file tree
Hide file tree
Showing 13 changed files with 33,122 additions and 3 deletions.
Binary file modified Kong_Un.db
Binary file not shown.
Binary file modified output/Piau-Tsu-Im.xlsx
Binary file not shown.
Binary file added output/【河洛話注音】漢語古詩.xlsx
Binary file not shown.
4 changes: 2 additions & 2 deletions p100_tsa_ji_tian.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import xlwings as xw

# 專案全域常數
from config_dev_env import DATABASE_PATH
from config_dev_env import DATABASE

def main_run(CONVERT_FILE_NAME):
# ==========================================================
Expand Down Expand Up @@ -61,7 +61,7 @@ def main_run(CONVERT_FILE_NAME):
# =========================================================="
# 資料庫",
# =========================================================="
conn = sqlite3.connect(DATABASE_PATH)
conn = sqlite3.connect(DATABASE)
db_cursor = conn.cursor()
source_index = 1 # index for source sheet
target_index = 1
Expand Down
2 changes: 1 addition & 1 deletion p200_hoo_gua_tsu_im.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def build_web_page(target_sheet, tsu_im_huat, div_class, rt_tag):
# 取得聲母之聲母碼
siann_bu = source_sheet.range("C" + str(source_index)).value
siann_index = 0
if siann_bu.strip() != "":
if siann_bu and siann_bu.strip() != "":
siann_index = ji.get_siann_idx(siann_bu)
if siann_index == -1:
# 記錄沒找到之聲母
Expand Down
Binary file added tools/SQLite/Kong-Un-Tsuan-Ji-Piau.sqlite
Binary file not shown.
3,900 changes: 3,900 additions & 0 deletions tools/SQLite/Kong_Un_Huan_Tshiat_Kin_Thok_Ji_Piau.csv

Large diffs are not rendered by default.

3,900 changes: 3,900 additions & 0 deletions tools/SQLite/《廣韻反切今讀手冊》字表.csv

Large diffs are not rendered by default.

Binary file added tools/《廣韻反切今讀手冊》字表.xlsx
Binary file not shown.
Binary file not shown.
Binary file added tools/廣韻(20170209).xlsx
Binary file not shown.
Binary file added tools/廣韻韻母與羅馬拼音對照表.xlsx
Binary file not shown.
25,319 changes: 25,319 additions & 0 deletions tools/隋語廣韻全字表.csv

Large diffs are not rendered by default.

0 comments on commit e6ae5e7

Please sign in to comment.