Skip to content

Commit

Permalink
優化程式碼架構
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanJui committed Jan 11, 2025
1 parent 28054c1 commit 780dc20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p702_Ca_Han_Ji_Thak_Im.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def za_ji_kiat_ko_cut_piau_im(result, han_ji_khoo, piau_im, piau_im_huat):
# 若【聲調】為【6】,則將【聲調】改為【7】
tiau_ho = "7"
else:
#-----------------------------------------------------------------
#-----------------------------------------------------------------
# 【文讀音】:依《廣韻字庫》標注【台語音標】和【方音符號】
#-----------------------------------------------------------------
siann_bu, un_bu, tiau_ho = split_tai_gi_im_piau(result[0]['標音'])
Expand Down Expand Up @@ -213,7 +213,7 @@ def ca_han_ji_thak_im(wb, sheet_name='漢字注音', cell='V3', ue_im_lui_piat="
print("\n")
row += 4

print("已完成【台語音標】和【方音符號】標注工作。")
print("已完成【台語音標】和【漢字標音】標注工作。")

# 關閉資料庫連線
conn.close()
Expand Down

0 comments on commit 780dc20

Please sign in to comment.