We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
setting := pinyin.NewArgs()
setting.Heteronym = true
setting.Style=pinyin.Tone2
fmt.Println(pinyin.Pinyin("广州深圳",setting))
返回值为
[[gua3ng ya3n a1n] [zho1u] [she1n] [zhe4n qua3n cho2u hua2i]]
很显然 ,多音字是不正确的
The text was updated successfully, but these errors were encountered:
下载最新的txt字典重新生成一份
Sorry, something went wrong.
嗯,可以参考 #57 这里的方法使用想用的拼音数据。
No branches or pull requests
返回值为
[[gua3ng ya3n a1n] [zho1u] [she1n] [zhe4n qua3n cho2u hua2i]]
很显然 ,多音字是不正确的
The text was updated successfully, but these errors were encountered: