mozillazg / go-pinyin

汉字转拼音
https://godoc.org/github.com/mozillazg/go-pinyin
MIT License
1.6k stars 194 forks source link

多音解析有问题 #65

Open aynlele opened 10 months ago

aynlele commented 10 months ago

多音解析有问题 hans := "重" a := pinyin.NewArgs() a.Heteronym = true fmt.Println(pinyin.Pinyin(hans, a))

结果:zhong chong tong 多出了一个tong

tigerliqf commented 10 months ago

多音解析有问题 hans := "重" a := pinyin.NewArgs() a.Heteronym = true fmt.Println(pinyin.Pinyin(hans, a))

结果:zhong chong tong 多出了一个tong

在多音模式下,汉字“路”的拼音会多出一个luo