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

有问题的转换 #789

Open
tangwudu opened this issue Jun 20, 2023 · 0 comments · May be fixed by #792
Open

有问题的转换 #789

tangwudu opened this issue Jun 20, 2023 · 0 comments · May be fixed by #792

Comments

@tangwudu
Copy link

tangwudu commented Jun 20, 2023

针对简体转台湾繁体:
"几分钟" 转换出来是 "幾分鐘"
但"短短几分钟"转换出来是 "短短几分鐘"
几这个字没有被转换

import opencc
converter = opencc.OpenCC('s2tw.json')
str_ = '只需要短短几分钟'
print(converter.convert(str_))

@groverlynn groverlynn linked a pull request Jul 16, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant