xpinyin
xpinyin copied to clipboard
Translate Chinese hanzi to pinyin (拼音) by Python, 汉字转拼音
“洁”的拼音错误
打印结果为ji
0x4e00-0x9fa5 中没有 ``` \u4e06 \u4e37 \u4e4a \u4e5b \u4e64 \u4e65 \u4e67 \u4e6c \u4e6e \u4e6f \u4e72 \u4e7a \u4e7b \u4e7c \u4e7d \u4e87 \u4eaa \u4ebd \u4ed2 \u4ee9 \u4f2c \u4f66 \u4f68 \u4fa4 \u4fe7 \u4fec \u503f...
https://www.zdic.net/hans/%E9%AB%AE https://github.com/lxneng/xpinyin/blob/fe2af73c0b70c0ff5b3332dee16fe9de43a7e6f0/src/xpinyin/Mandarin.dat#L24145 何来第三声的念法?
"娜" 误拼为 "nuo"
get_initials('重庆','')
Is there a way to use the tool to convert back a text from pinyin to hanzi?
Traceback (most recent call last): File "Area.py", line 534, in File "xpinyin\__init__.py", line 60, in __init__ File "pathlib.py", line 1175, in read_text File "pathlib.py", line 1162, in open File "pathlib.py",...