mozillazg / python-pinyin

汉字转拼音(pypinyin)

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pinyin(“流”, style=5, heteronym=False) 返回 iou,应该是iu

Caisen2012 opened this issue · comments

pinyin(“流”, style=5, heteronym=False) 返回 iou,应该是iu

@Caisen2012 当前的结果是预期的。如果不符合你的预期的话,可能你想要的是 strict=False 时的结果。关于这个参数的说明详见:https://pypinyin.readthedocs.io/zh_CN/master/usage.html#strict