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

rime拼音转搜狗拼音,导入后的词库为乱码 #4

Open
kidzgy opened this issue Oct 16, 2023 · 2 comments
Open

rime拼音转搜狗拼音,导入后的词库为乱码 #4

kidzgy opened this issue Oct 16, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@kidzgy
Copy link

kidzgy commented Oct 16, 2023

微信截图_20231016120552
需要将转换后的txt词库编码设置为ANSI,重新导入即可解决,如果是导入的UTF8,候选词就会出现乱码。

测试的是https://github.com/iDvel/rime-ice/blob/main/cn_dicts/base.dict.yaml 这个词库。

@kidzgy
Copy link
Author

kidzgy commented Oct 17, 2023

不知道可否支持下将搜狗拼音txt转成为细胞词库scel,这样的话就可以通过命令行将txt转化为scel,再通过sgtool工具导入细胞词库了,方便维护和测试txt词库。

@nopdan
Copy link
Owner

nopdan commented Oct 17, 2023

不知道可否支持下将搜狗拼音txt转成为细胞词库scel,这样的话就可以通过命令行将txt转化为scel,再通过sgtool工具导入细胞词库了,方便维护和测试txt词库。

scel 有校验码的,需要逆向分析,我做不了

@nopdan nopdan added the enhancement New feature or request label Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants