Skip to content
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

“妳”读音错误 #58

Closed
zhuangh opened this issue Feb 8, 2017 · 8 comments
Closed

“妳”读音错误 #58

zhuangh opened this issue Feb 8, 2017 · 8 comments

Comments

@zhuangh
Copy link

@zhuangh zhuangh commented Feb 8, 2017

>>> from pypinyin import pinyin
>>> pinyin('你会')
[['nǐ'], ['huì']]
>>> pinyin('妳會')
[['nǎi'], ['huì']]
@tvytlx
Copy link

@tvytlx tvytlx commented Feb 8, 2017

好像也是多音字。

@zhuangh
Copy link
Author

@zhuangh zhuangh commented Feb 8, 2017

@arctanx0 嗯,谢谢,“妳”的确如此。
那么应该如何得到正确的“妳會”=[['nǐ'], ['huì']]?

>>> pinyin('妳會', heteronym=True) 
[['nǎi', 'nǐ'], ['huì', 'kuài', 'kuò']] 

@mozillazg
Copy link
Owner

@mozillazg mozillazg commented Feb 9, 2017

@zhuangh 可以临时调整 的拼音顺序:

>>> from pypinyin import load_single_dict, pinyin
>>> load_single_dict({ord('妳'): 'nǐ,nǎi'})
>>> pinyin('妳會')
[['nǐ'], ['huì']]

@zhuangh
Copy link
Author

@zhuangh zhuangh commented Feb 10, 2017

@mozillazg 谢谢,所以改了吗?

@mozillazg
Copy link
Owner

@mozillazg mozillazg commented Feb 10, 2017

@zhuangh 还没。周末的时候应该会发布一个调整后的新版本。可以先用上面的方法临时调整一下。

@mozillazg mozillazg closed this in fe2aa4f Feb 12, 2017
@mozillazg mozillazg reopened this Feb 12, 2017
@mozillazg
Copy link
Owner

@mozillazg mozillazg commented Feb 12, 2017

@zhuangh 已改。麻烦更新为最新版(0.16.1)。

@zhuangh
Copy link
Author

@zhuangh zhuangh commented Feb 12, 2017

@mozillazg thanks!

@mozillazg
Copy link
Owner

@mozillazg mozillazg commented Feb 20, 2017

@zhuangh 不客气!

@mozillazg mozillazg closed this Feb 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants