Closed Undefined-Index closed 11 months 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))
感谢反馈!我看一下。
运行环境
问题描述
”大城市“会转换成['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))