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

搜狗拼音词库.bin 转换为 微软拼音自学习词汇.dat 后,导入失败(文件格式错误或文件已损坏) #11

Closed
YangShaoyue opened this issue May 10, 2024 · 6 comments · Fixed by #12

Comments

@YangShaoyue
Copy link

平台:Windows 11

问题描述:

  1. 搜狗拼音输入法导出词库
    image
  2. 使用本工具导出 微软拼音自学习词汇.dat
    image
  3. 导入 微软拼音自学习词汇.dat 后报错:
    image

PS:我使用深蓝词库转换工具 v3.1 也是同样的报错

@nopdan
Copy link
Owner

nopdan commented May 10, 2024

无法复现

@YangShaoyue
Copy link
Author

无法复现

刚发现使用本工具后,终端有几行类似报警的日志:
image
请问导入失败与此有关吗?

另外,有办法查看 win11 微软拼音自学习词汇导入日志吗?能查看的话,我也可以提供

@nopdan
Copy link
Owner

nopdan commented May 10, 2024

长词是跳过了的。初步怀疑是搜狗词库拼音编码中有微软不支持的编码,可以的话提供你的搜狗备份文件,mailto:xci@live.com

@YangShaoyue
Copy link
Author

长词是跳过了的。初步怀疑是搜狗词库拼音编码中有微软不支持的编码,可以的话提供你的搜狗备份文件,mailto:xci@live.com

感谢,搜狗词库已经通过邮箱发送给你。

@nopdan nopdan mentioned this issue May 10, 2024
nopdan added a commit that referenced this issue May 10, 2024
fix(mspy_udl): 过滤掉含有非汉字的词条
@nopdan
Copy link
Owner

nopdan commented May 10, 2024

修复了,https://github.com/nopdan/rose/actions/runs/9029378170 可以下载。
重构拖了很久暂时不准备发版

@YangShaoyue
Copy link
Author

修复了,https://github.com/nopdan/rose/actions/runs/9029378170 可以下载。 重构拖了很久暂时不准备发版

非常感谢,已经导入成功

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.

2 participants