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

某些两个汉字的词转换得到一个粘连的长音节 #41

Closed
jolly-tao opened this issue May 10, 2016 · 5 comments
Closed

某些两个汉字的词转换得到一个粘连的长音节 #41

jolly-tao opened this issue May 10, 2016 · 5 comments

Comments

@jolly-tao
Copy link

首先谢谢提供如此便利的汉字转拼音工具

近日在使用时遇到这样的问题

>>> from pypinyin import lazy_pinyin
>>> lazy_pinyin('彷徨')
['panghuang']

预想得到的应该是['pang', 'huang']?
我的环境是Python 3.5.1, pypinyin 0.12.0

@mozillazg
Copy link
Owner

@jolly-tao 感谢反馈!我看看。

@mozillazg
Copy link
Owner

@jolly-tao 问题已确认。

@mozillazg
Copy link
Owner

初步发现还有其他的词语也有类似的问题。

hotoo added a commit to hotoo/pinyin that referenced this issue May 11, 2016
* fix(phrases dict): 修复了词典拼音库

mozillazg/python-pinyin#41
mozillazg/python-pinyin#42

* fix(spm test): 去除 spm test 测试,spmjs.io 已下线
mozillazg added a commit that referenced this issue May 11, 2016
修复一些词语存在拼音粘连在一起的情况. fixed #41
@mozillazg
Copy link
Owner

@jolly-tao 问题已修复。请升级到最新版。

@jolly-tao
Copy link
Author

@mozillazg 好棒

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants