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

国际英文转换问题。~ #45

Open
fenggan opened this issue Jul 5, 2019 · 1 comment
Open

国际英文转换问题。~ #45

fenggan opened this issue Jul 5, 2019 · 1 comment

Comments

@fenggan
Copy link

fenggan commented Jul 5, 2019

比如香港,拼音是xianggang,能自动转换成hongkong吗。必须要自己去添加词库吗?

@VaslD
Copy link

VaslD commented Feb 9, 2020

Hong Kong 这个发音更接近粤语。

如果只是修改几个地名的话(不更改“香”和“港”单字的发音)还是用字典吧。

如果要全部转换成粤拼,可以按照项目编码的逻辑(编码方式详见工作原理)自己生成一份查询表替换掉默认的汉语拼音(发音)表。

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