New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
部分拼音拼写有误 #112
Comments
@hyu9999 感谢反馈,之后我会抽空整理一下词典库。 In [1]: from pypinyin import pinyin, load_phrases_dict
In [2]: pinyin('为什么')
Out[2]: [['wéi'], ['shèn'], ['mǒ']]
In [3]: load_phrases_dict({'为什么': [['wèi'], ['shén'], ['me']]})
In [4]: pinyin('为什么')
Out[4]: [['wèi'], ['shén'], ['me']] |
运行环境 操作系统(Linux/macOS/Windows):macOS 10.13.4 问题复现步骤
建议 蹒和超并不是多音字,参见 http://www.zdic.net/z/25/js/8E52.htm 和 http://www.zdic.net/z/25/js/8D85.htm 建议提供词典库的详细信息,方便大家评审和更正,谢谢 |
没有蹒的词条 |
@hyu9999 运行环境 我有一个文本文件b.txt,utf-8格式,文件里面有内容: 能批处理、拖叠文件等一步到位吗? |
运行环境
问题描述
部分拼音拼写有误
问题复现步骤
pinyin('为什么')-->[['wéi'], ['shèn'], ['mǒ']] 这个应该是[['wèi'], ['shén'], ['me']]
pinyin('什么')-->[['shén'], ['me']]
The text was updated successfully, but these errors were encountered: