You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年5月11日(星期三) 晚上8:23
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [mozillazg/pinyin-data] pinyin.txt的多音字,出现部分音不应该存在的问题 (Issue #49)
你好,你可以试试使用下面代码,但愿对你有帮助:
from pypinyin import pinyin
from pypinyin_dict.pinyin_data import kxhc1983
kxhc1983.load() # 这边加上就不会出现多音字乱入的问题
print(pinyin('王', heteronym=True))
print(pinyin('朝', heteronym=True))
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
你好!
【朝】,这个多音字就cháo,zhāo,但是这边出现了”zhū“
【朝】,这个多音字就wāng,wǎng,但是这边出现了”hóng“
【王】,这个多音字就wáng,wàng,但是这边出现了”yù“
【覃】,这个多音字就tán,qín,但是这边出现了”yǎn“
麻烦这边看看是否有问题
The text was updated successfully, but these errors were encountered: