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

朝阳多音词错误 #154

Closed
demonkit opened this issue Jan 16, 2019 · 3 comments
Closed

朝阳多音词错误 #154

demonkit opened this issue Jan 16, 2019 · 3 comments

Comments

@demonkit
Copy link

@demonkit demonkit commented Jan 16, 2019

运行环境

  • 操作系统(Linux/macOS/Windows):macOS
  • Python 版本:2.7.10
  • pypinyin 版本:0.34.0

问题描述

词组:朝阳,读音是多音词,有zhaoyang、chaoyang两种读法,使用多音词只返回一种读法。

问题复现步骤

直接调用代码即可出现。

>>> pinyin(u"朝阳", heteronym=True, style=Style.NORMAL)
[[u'zhao'], [u'yang']]
@mozillazg
Copy link
Owner

@mozillazg mozillazg commented Jan 26, 2019

@demonkit 感谢反馈~ 待我有空的时候看看。

@mozillazg
Copy link
Owner

@mozillazg mozillazg commented Feb 26, 2019

Fixed via c22f8e8

@mozillazg mozillazg closed this Feb 26, 2019
@mozillazg
Copy link
Owner

@mozillazg mozillazg commented Feb 26, 2019

最新版已解决这个问题

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
2 participants