前言
最近重裝了小狼毫,記錄一下過程。
話說,Rime 真是我用過 (無論是在 Windows 或 Mac) 最好用的中文輸入法!!
打句子不用選字,能自動識別出合適的字,令打字速度快了十倍,真是超贊!!

到官網下載安裝
RIME | 中州韻輸入法引擎: https://rime.im/
Customization
Customization Guide · rime/home Wiki
https://github.com/rime/home/wiki/CustomizationGuide
C:\Program Files (x86)\Rime\weasel-0.14.3\data
選擇輸入法
default.custom.yaml
| 
 
 
 
 
 patch:
 schema_list:
 
 - schema: luna_pinyin_simp
 - schema: luna_pinyin_tw
 
 
 
 
 - schema: cangjie5
 
 - schema: quick5
 
 
 
 
 
 
 
 
 
 
 
 - schema: emoji
 - schema: kaomoji
 "menu/page_size": 9
 
 | 
介面 UI
squirrel.custom.yaml
| 
 
 
 patch:
 
 
 
 
 style/font_face: "Hiragino Sans GB"
 style/font_point: 14
 style/corner_radius: 5
 
 
 style/color_scheme: dark_temple
 
 
 
 
 
 
 
 
 
 
 
 
 | 
速成、中英切換、繁簡轉換、全角標點符號
quick5.schema.yaml
| 
 
 schema:
 schema_id: quick5
 name: 速成
 version: "0.19"
 author:
 - 佛振 <chen.sst@gmail.com>
 description: |
 速成、倉頡詞句連打
 碼表源自倉頡之友發佈的《五倉世紀版》
 www.chinesecj.com
 dependencies:
 - luna_pinyin
 
 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
 - script_translator
 - reverse_lookup_translator
 filters:
 - simplifier
 - uniquifier
 
 speller:
 alphabet: zyxwvutsrqponmlkjihgfedcba
 delimiter: " ;'"
 algebra:
 - 'derive/^([^z])\w+(\w)$/$1$2/'
 
 translator:
 dictionary: quick5
 prism: quick5
 preedit_format:
 - "xlit|abcdefghijklmnopqrstuvwxyz;'|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符··|"
 comment_format:
 - "xlit|abcdefghijklmnopqrstuvwxyz~|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符~|"
 disable_user_dict_for_patterns:
 - "^z.*$"
 - "^yyy.*$"
 
 abc_segmentor:
 extra_tags:
 - reverse_lookup
 
 reverse_lookup:
 dictionary: luna_pinyin
 prefix: "`"
 suffix: "'"
 tips: 〔拼音〕
 preedit_format:
 - xform/([nl])v/$1ü/
 - xform/([nl])ue/$1üe/
 - xform/([jqxy])v/$1u/
 comment_format:
 - "xlit|abcdefghijklmnopqrstuvwxyz|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符|"
 
 punctuator:
 import_preset: default
 
 key_binder:
 import_preset: default
 
 recognizer:
 import_preset: default
 patterns:
 reverse_lookup: "`[a-z]*'?$"
 
 | 
quick5.custom.yaml
| patch:schema/dependencies:
 - kaomoji
 engine/translators:
 - punct_translator
 - script_translator
 - reverse_lookup_translator
 recognizer/patterns/reverse_lookup: "^[a-z]{2,}$|^v[a-z]*$|^`[a-z]*$"
 reverse_lookup:
 dictionary: kaomoji
 enable_completion: false
 prefix: "`"
 tips: "〔颜文字〕"
 
 
 switches:
 - name: ascii_mode
 reset: 0
 states: ["中文", "西文"]
 - name: full_shape
 states: ["半角", "全角"]
 - name: ascii_punct
 reset: 1
 states: [",。", ",."]
 - name: zh_simp
 reset: 1
 states: ["漢字", "汉字"]
 menu/page_size: 9
 
 | 
References