mozillazg / python-pinyin

汉字转拼音(pypinyin)

Home Page:https://pypinyin.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Undefined-Index opened this issue · comments

运行环境

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

问题描述

”大城市“会转换成['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))

感谢反馈!我看一下。