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

修复一些词语存在拼音粘连在一起的情况. fixed #41 #42

Merged
merged 1 commit into from
May 11, 2016

Conversation

mozillazg
Copy link
Owner

No description provided.

@coveralls
Copy link

coveralls commented May 10, 2016

Coverage Status

Coverage remained the same at 98.936% when pulling 9cf7abf on hotfix-41 into 535b981 on develop.

@coveralls
Copy link

coveralls commented May 10, 2016

Coverage Status

Coverage remained the same at 98.936% when pulling 9cf7abf on hotfix-41 into 535b981 on develop.

@hotoo
Copy link

hotoo commented May 11, 2016

👍 好仔细,你把整个词典都通读了一遍么?

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

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

* fix(spm test): 去除 spm test 测试,spmjs.io 已下线
@mozillazg
Copy link
Owner Author

@hotoo 😂 通过程序找出来的。

import re

from pypinyin.phrases_dict import phrases_dict

for han, pinyins in phrases_dict.items():
    for p in pinyins:
        for x in p:
            if len(re.findall('[^a-z]', x)) > 1:
                print(han + ': ' + x)

@mozillazg mozillazg merged commit 7512d67 into develop May 11, 2016
@mozillazg mozillazg deleted the hotfix-41 branch May 12, 2016 13:04
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

Successfully merging this pull request may close these issues.

3 participants