-
Notifications
You must be signed in to change notification settings - Fork 679
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默认的词库后,候选框中多了繁体字,怎么去掉繁体的候选词? #775
Comments
词库中的繁体已经用opencc转换为简体了。还有转换为简体后,词库重复了怎么处理? |
#!/usr/bin/env python3
from sys import argv
file_path = argv[1]
# open file
line_list = []
with open(file_path, 'r') as file:
for line in file:
line_list.append(line)
line_map = {}
for line in line_list:
header = line.rsplit("\t", maxsplit=1)[0]
line_map[header] = line
with open(file_path, 'w') as file:
for line in line_map.values():
file.write(line) (测试过的,可以 close 了) |
你可以看到用户词库里的繁体字又回来了 修复步骤是: |
我用的是mac,请问怎么关闭squirrel?切换成其它输入法算是关闭吗 |
大概不关闭也可以,就是重装完了要重启? |
谢谢耐心指教,重装了几次,终于同步成功了,估计我的配置什么地方有问题吧。另外,还想请教几个问题:
|
前两个应该非常简单,参考 rime 配置方法 |
暂时不支持多行,后续版本有。可能等个几个月就有这个功能了。
按 uU 再输入偏旁部首 |
uvuvpi
请问具体要怎么按,我用的是小鹤双拼,比如我要输入“宋",先按u,再按shift+u,再按bcmu吗? |
部件拆字怎么激活呢,我按了u没有反应? |
按 uU |
zhang
The text was updated successfully, but these errors were encountered: