Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多音解析有问题 #65

Open
aynlele opened this issue Oct 31, 2023 · 1 comment
Open

多音解析有问题 #65

aynlele opened this issue Oct 31, 2023 · 1 comment

Comments

@aynlele
Copy link

aynlele commented Oct 31, 2023

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

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

@tigerliqf
Copy link

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants