刚刚在Ubuntu中折腾好了Rime输入法并导入了酱香的搜狗个人词库,好香啊,决定在Windows上也换掉流氓搜狗了,搜狗词库导出和转换的方法参考上一篇https://blog.csdn.net/lpwmm/article/details/108297339
下载
官网直怼: https://rime.im/download/
添加微软双拼方案
在C:\Program Files (x86)\Rime\weasel-0.14.3\data
文件夹中创建double_pinyin_mspy.schema.yaml
文件
也可以直接从GitHub上面获取: https://github.com/rime/rime-double-pinyin/blob/master/double_pinyin_mspy.schema.yaml
完整内容附到后面了
打开用户文件夹,默认位置在windows的个人文件夹的AppData\Roaming\Rime
里面,我在安装的时候选择了自定义的放在D盘rime里面了,修改个人文件夹中的default.custom.yaml
配置文件如下:
customization:distribution_code_name: Weaseldistribution_version: 0.14.3generator: "Rime::SwitcherSettings"modified_time: "Sat Aug 29 19:42:57 2020"rime_version: 1.5.3
patch:schema_list:# - {schema: luna_pinyin} # 默认启用的输入方案,禁用掉# - {schema: luna_pinyin_simp} # 默认启用的输入方案,禁用掉- {schema: double_pinyin_mspy} # 启用微软双拼方案
改完配置文件后需要重新部署一下rime
部署完成后就可以使用微软双拼的输入方案了.
导入搜狗的个人词库
个人词库导入成功后不需要重新部署就可以直接调用了,下面就可以愉快的输入啦!
候选词横向显示
还是打开rime的个人文件夹,修改weasel.custom.yaml
配置文件,内容如下:
customization:distribution_code_name: Weaseldistribution_version: 0.14.3generator: "Weasel::UIStyleSettings"modified_time: "Sat Aug 29 19:57:45 2020"rime_version: 1.5.3
patch:"style/color_scheme": google"style/horizontal": true # 主要是这一行,设置候选词横向显示
配置完成后需要重新部署一下rime生效
double_pinyin_mspy.schema.yaml
配置文件内容
# Rime schema
# encoding: utf-8schema:schema_id: double_pinyin_mspyname: MSPY雙拼version: "0.15"author:- 佛振 <chen.sst@gmail.com>description: |朙月拼音+MSPY雙拼方案。dependencies:- strokeswitches:- name: ascii_modereset: 0states: [ 中文, 西文 ]- name: full_shapestates: [ 半角, 全角 ]- name: simplificationstates: [ 漢字, 汉字 ]- name: ascii_punctstates: [ 。,, ., ]engine:processors:- ascii_composer- recognizer- key_binder- speller- punctuator- selector- navigator- express_editorsegmentors:- ascii_segmentor- matcher- abc_segmentor- punct_segmentor- fallback_segmentortranslators:- punct_translator- reverse_lookup_translator- script_translatorfilters:- simplifier- uniquifierspeller:alphabet: zyxwvutsrqponmlkjihgfedcba;initials: zyxwvutsrqponmlkjihgfedcbadelimiter: " '"algebra:- erase/^xx$/- derive/^([jqxy])u$/$1v/- derive/^([aoe].*)$/o$1/- xform/^([ae])(.*)$/$1$1$2/- xform/iu$/Q/- xform/[iu]a$/W/- xform/er$|[uv]an$/R/- xform/[uv]e$/T/- xform/v$|uai$/Y/- xform/^sh/U/- xform/^ch/I/- xform/^zh/V/- xform/uo$/O/- xform/[uv]n$/P/- xform/i?ong$/S/- xform/[iu]ang$/D/- xform/(.)en$/$1F/- xform/(.)eng$/$1G/- xform/(.)ang$/$1H/- xform/ian$/M/- xform/(.)an$/$1J/- xform/iao$/C/- xform/(.)ao$/$1K/- xform/(.)ai$/$1L/- xform/(.)ei$/$1Z/- xform/ie$/X/- xform/ui$/V/- derive/T$/V/- xform/(.)ou$/$1B/- xform/in$/N/- xform/ing$/;/- xlit/QWRTYUIOPSDFGHMJCKLZXVBN/qwrtyuiopsdfghmjcklzxvbn/#- abbrev/^(.).+$/$1/translator:dictionary: luna_pinyinprism: double_pinyin_mspypreedit_format:- xform/([aoe])(\w)/0$2/- xform/([bpmnljqxy])n/$1in/- xform/(\w)g/$1eng/- xform/(\w)q/$1iu/- xform/([gkhvuirzcs])w/$1ua/- xform/(\w)w/$1ia/- xform/([dtnlgkhjqxyvuirzcs])r/$1uan/- xform/0r/er/- xform/([dtgkhvuirzcs])v/$1ui/- xform/(\w)v/$1ve/- xform/(\w)t/$1ve/- xform/([gkhvuirzcs])y/$1uai/- xform/(\w)y/$1v/- xform/([dtnlgkhvuirzcs])o/$1uo/- xform/(\w)p/$1un/- xform/([jqx])s/$1iong/- xform/(\w)s/$1ong/- xform/([jqxnl])d/$1iang/- xform/(\w)d/$1uang/- xform/(\w)f/$1en/- xform/(\w)h/$1ang/- xform/(\w)j/$1an/- xform/(\w)k/$1ao/- xform/(\w)l/$1ai/- xform/(\w)z/$1ei/- xform/(\w)x/$1ie/- xform/(\w)c/$1iao/- xform/(\w)b/$1ou/- xform/(\w)m/$1ian/- xform/(\w);/$1ing/- xform/0(\w)/$1/- "xform/(^|[ '])v/$1zh/"- "xform/(^|[ '])i/$1ch/"- "xform/(^|[ '])u/$1sh/"- xform/([jqxy])v/$1u/- xform/([nl])v/$1ü/reverse_lookup:dictionary: strokeenable_completion: trueprefix: "`"suffix: "'"tips: 〔筆畫〕preedit_format:- xlit/hspnz/一丨丿丶乙/comment_format:- xform/([nl])v/$1ü/punctuator:import_preset: defaultkey_binder:import_preset: defaultrecognizer:import_preset: defaultpatterns:reverse_lookup: "`[a-z]*'?$"