Skip to content

Commit 565a2a8

Browse files
authored
Update README.md
1 parent c34709d commit 565a2a8

File tree

1 file changed

+16
-0
lines changed
  • Switch Traditional Chinese and Simplified Chinese

1 file changed

+16
-0
lines changed

Switch Traditional Chinese and Simplified Chinese/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,22 @@
3434
<pre>'鼠标':'滑鼠'
3535
</pre>
3636

37+
漢語拼音標注
38+
---
39+
40+
目前有個問題,除了配對到詞組的多音字之外,多音單字還需要一個預設拼音。
41+
42+
例如“了”應該預設是“le”而不是“liao”。
43+
44+
我改了一些,常用的幾個多音單字都改了。但我數了一下,這類多音單字總共有800多個,需要有人來幫忙整理一下。
45+
46+
如果有對幫忙有興趣的朋友,以下是整理步驟:
47+
48+
+ 下載dict.txt
49+
+ 正規搜尋`^(\S \S) \[.*\n(\1.*\n)+`
50+
+ 刪除多餘的行,只保留一個預設讀音
51+
+ 將修改後的字典提交給我,也可以直接執行專案中的 run.py 來轉換檔案後查看效果
52+
3753
npm 前端庫
3854
---
3955

0 commit comments

Comments
 (0)