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

Comments

Projects
None yet
2 participants
@jolly-tao

jolly-tao commented May 10, 2016

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

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

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

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

@mozillazg

This comment has been minimized.

Owner

mozillazg commented May 10, 2016

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

@mozillazg

This comment has been minimized.

Owner

mozillazg commented May 10, 2016

@jolly-tao 问题已确认。

@mozillazg

This comment has been minimized.

Owner

mozillazg commented May 10, 2016

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

mozillazg added a commit that referenced this issue May 10, 2016

hotoo added a commit to hotoo/pinyin that referenced this issue May 11, 2016

hotoo added a commit to hotoo/pinyin that referenced this issue May 11, 2016

fix(phrases dict): 修复了词典拼音库 (#93)
* 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

Merge pull request #42 from mozillazg/hotfix-41
修复一些词语存在拼音粘连在一起的情况. fixed #41

@mozillazg mozillazg closed this in 9cf7abf May 11, 2016

@mozillazg

This comment has been minimized.

Owner

mozillazg commented May 11, 2016

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

@jolly-tao

This comment has been minimized.

jolly-tao commented May 12, 2016

@mozillazg 好棒

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment