-
Notifications
You must be signed in to change notification settings - Fork 232
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
删词快捷键删掉了未选中的自造词 #381
Comments
退回 0.13 也会这样。再造一个词「导谎」,键入 hdsa1,前两个候选词是「导读」「导谎」。若光标移至「导谎」,删词,则两词都被删。若光标移至其它候选词,比如单字,删词,则「导读」被删。看起来是首个候选一定会被删。 其他位置的自造词不受影响(已测试,比如再造一个「导諽」)。 Footnotes
|
退回 0.13 后,发现 WeaselServer.exe 一直占用 CPU 25% 左右,Tim 卡死。重启后,Tim 和 Notepad2 反复卡死,无法自造词(自造词不出现在候选中),WeaselServer.exe 一直占用 CPU 40%-70%。 后发现 <schema_id>.userdb 目录下快速生成成千上万个 .sst 文件,结束 WeaselServer.exe 进程,删除整个目录后,重启算法服务,该进程问题解决了。 不知道这是 0.14 导致的还是降级到 0.13 导致的。 |
# zhengma_mod.schema.yaml
...
engine:
...
translators:
-punct_translator
-table_translator@fixed # 注释掉这行就没有问题了,那么有什么办法保留这个功能,又保证删词正常呢?
-table_translator
...
...
fixed:
__include: translator
enable_user_dict: true
enable_encoder: true
initial_quality: 1000
disable_user_dict_for_patterns:
- '.*'
... |
|
Windows 7 + Weasel 0.14.0.135
郑码自造词「导读」,键入 hdsa,光标移至其他候选词,按 Ctrl + Delete 或 Shift + Delete,结果「导读」被删除了。
The text was updated successfully, but these errors were encountered: