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

Comments

Projects
None yet
3 participants
@zhuangh

zhuangh commented Feb 8, 2017

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

This comment has been minimized.

tvytlx commented Feb 8, 2017

好像也是多音字。

@zhuangh

This comment has been minimized.

zhuangh commented Feb 8, 2017

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

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

This comment has been minimized.

Owner

mozillazg commented Feb 9, 2017

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

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

This comment has been minimized.

zhuangh commented Feb 10, 2017

@mozillazg 谢谢,所以改了吗?

@mozillazg

This comment has been minimized.

Owner

mozillazg commented Feb 10, 2017

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

@mozillazg mozillazg closed this in fe2aa4f Feb 12, 2017

@mozillazg mozillazg reopened this Feb 12, 2017

@mozillazg

This comment has been minimized.

Owner

mozillazg commented Feb 12, 2017

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

@zhuangh

This comment has been minimized.

zhuangh commented Feb 12, 2017

@mozillazg thanks!

@mozillazg

This comment has been minimized.

Owner

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