mozillazg / python-pinyin

汉字转拼音(pypinyin)
https://pypinyin.readthedocs.io
MIT License
4.92k stars 612 forks source link

大城开头的词的大字都会转换成'dài' #311

Closed Undefined-Index closed 11 months ago

Undefined-Index commented 1 year ago

运行环境

问题描述

”大城市“会转换成['dài', 'chéng', 'shì'] “大城区”会转换成['dài', 'chéng', 'qū'] “大城”会转换成['dài', 'chéng'] 凡是“大城”开头都会都成dài

问题复现步骤

print(lazy_pinyin("大城市", neutral_tone_with_five=True, style=1, tone_sandhi=True)) print(lazy_pinyin("大城区", neutral_tone_with_five=True, style=1, tone_sandhi=True)) print(lazy_pinyin("大城", neutral_tone_with_five=True, style=1, tone_sandhi=True))

mozillazg commented 1 year ago

感谢反馈!我看一下。