Windows10安装配置Rime双拼输入法

刚刚在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: Weasel
  distribution_version: 0.14.3
  generator: "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
Windows10安装配置Rime双拼输入法_第1张图片
部署完成后就可以使用微软双拼的输入方案了.

导入搜狗的个人词库

Windows10安装配置Rime双拼输入法_第2张图片
Windows10安装配置Rime双拼输入法_第3张图片
Windows10安装配置Rime双拼输入法_第4张图片
个人词库导入成功后不需要重新部署就可以直接调用了,下面就可以愉快的输入啦!
Windows10安装配置Rime双拼输入法_第5张图片

候选词横向显示

还是打开rime的个人文件夹,修改weasel.custom.yaml配置文件,内容如下:

customization:
  distribution_code_name: Weasel
  distribution_version: 0.14.3
  generator: "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-8

schema:
  schema_id: double_pinyin_mspy
  name: MSPY雙拼
  version: "0.15"
  author:
    - 佛振 >
  description: |
    朙月拼音+MSPY雙拼方案。
  dependencies:
    - stroke

switches:
  - name: ascii_mode
    reset: 0
    states: [ 中文, 西文 ]
  - name: full_shape
    states: [ 半角, 全角 ]
  - name: simplification
    states: [ 漢字, 汉字 ]
  - name: ascii_punct
    states: [ 。,, ., ]

engine:
  processors:
    - ascii_composer
    - recognizer
    - key_binder
    - speller
    - punctuator
    - selector
    - navigator
    - express_editor
  segmentors:
    - ascii_segmentor
    - matcher
    - abc_segmentor
    - punct_segmentor
    - fallback_segmentor
  translators:
    - punct_translator
    - reverse_lookup_translator
    - script_translator
  filters:
    - simplifier
    - uniquifier

speller:
  alphabet: zyxwvutsrqponmlkjihgfedcba;
  initials: zyxwvutsrqponmlkjihgfedcba
  delimiter: " '"
  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_pinyin
  prism: double_pinyin_mspy
  preedit_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: stroke
  enable_completion: true
  prefix: "`"
  suffix: "'"
  tips: 〔筆畫〕
  preedit_format:
    - xlit/hspnz/一丨丿丶乙/
  comment_format:
    - xform/([nl])v/$1ü/

punctuator:
  import_preset: default

key_binder:
  import_preset: default

recognizer:
  import_preset: default
  patterns:
    reverse_lookup: "`[a-z]*'?$"

你可能感兴趣的:(Windows10)