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

“城市建设用地”中的“地”,“亲力亲为”中的“为”拼音错误。 #166

Closed
hubeibei007 opened this issue Apr 23, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@hubeibei007
Copy link

commented Apr 23, 2019

运行环境

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

问题描述

“城市建设用地”中的“地”拼音错误

问题复现步骤

from pypinyin import pinyin
pinyin("城市建设用地")

[['chéng'], ['shì'], ['jiàn'], ['shè'], ['yòng'], ['de']]

"城市建设用地"中的“地”拼音转成了‘de’

pinyin("亲力亲为")
[['qīn'], ['lì'], ['qīn'], ['wèi']]

应该是wei2,第二声。

@mozillazg

This comment has been minimized.

Copy link
Owner

commented Apr 28, 2019

感谢反馈!词组这个不大好处理,目前是 case by case 的通过词组拼音库的方式解决的,我抽空更新一下词组拼音库。

mozillazg added a commit to mozillazg/phrase-pinyin-data that referenced this issue May 1, 2019

@mozillazg mozillazg added the easy fix label May 10, 2019

@mozillazg mozillazg closed this in bfb1060 May 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.