We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pinyin_list = pinyin(u'物美价廉',style=Style.TONE2,heteronym=False) print(pinyin_list)
[['jia4'], ['lia2n'], ['wu4'], ['me3i']]
The text was updated successfully, but these errors were encountered:
@zhouygg 感谢反馈!这个词语的拼音有问题,可以先暂时通过自定义词组拼音库的方式覆盖掉:
In [1]: from pypinyin import pinyin, Style, load_phrases_dict In [2]: pinyin(u'物美价廉',style=Style.TONE2,heteronym=False) Out[2]: [['jia4'], ['lia2n'], ['wu4'], ['me3i']] In [3]: load_phrases_dict({u'物美价廉': [[u'wù'], [u'měi'], [u'jià'], [u'lián']]}) In [4]: pinyin(u'物美价廉',style=Style.TONE2,heteronym=False) Out[4]: [['wu4'], ['me3i'], ['jia4'], ['lia2n']]
后面会更新一下这个词语的拼音。
Sorry, something went wrong.
14ccceb
No branches or pull requests
运行环境
问题描述
The text was updated successfully, but these errors were encountered: