sairen139
2016-12-20 21:15:04 +08:00
琴码速录并击配置文件
# Rime schema
# encoding: utf-8
schema:
schema_id: combo_pinyin
name: 琴码拼音
version: "0.1"
author:
- 佛振 <chen.sst@gmail.com>
description: |
並擊輸入拼音
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]
- name: simplification
states: [ 漢字, 汉字 ]
engine:
processors:
- ascii_composer
- chord_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- punct_translator
- r10n_translator
filters:
- simplifier
- uniquifier
speller:
alphabet: zyxwvutsrqponmlkjihgfedcba
delimiter: " '"
algebra:
- erase/^xx$/
chord_composer:
chord_duration: 0.05
alphabet: "qazwsxedcrfvtgbhnujmikol/"
algebra:
- 'xlit|qazwsxedcrfvtgbhnujmikol|QAZWSXEDCRFVTGBHNUJMIKOL|'
- xform/^DF/j/
- xform/^ER/y/
- xform/^WE/p/
- xform/^SD/k/
- xform/^XC/m/
- xform/^CV/n/
- xform/^WR/h/
- xform/^SF/l/
- xform/^B/b/
- xform/^D/d/
- xform/^G/g/
- xform/^Z/z/
- xform/^V/zh/
- xform/^T/t/
- xform/^Q/q/
- xform/^C/c/
- xform/^A/ch/
- xform/^W/w/
- xform/^X/x/
- xform/^S/s/
- xform/^E/sh/
- xform/^F/f/
- xform/^R/r/
- xform/JK$/ao/
- xform/([jqxy])NK$/$1ue/
- xform/([nl])NK$/$1ve/
- xform/NK$/ui/
- xform/([nl])HU$/$1v/
- xform/HU$/er/
- xform/JI$/ai/
- xform/UI$/ei/
- xform/IO$/in/
- xform/([jqx])ML$/$1iong/
- xform/ML$/ong/
- xform/JO$/an/
- xform/UO$/en/
- xform/IL$/ing/
- xform/MK$/ou/
- xform/KL$/uan/
- xform/JL$/ang/
- xform/UL$/eng/
- xform/KO$/un/
- xform/HI$/iu/
- xform/KO$/vn/
- xform/([jqx])J$/$1ia/
- xform/J$/a/
- xform/U$/e/
- xform/I$/i/
- xform/([fwbmpy])M$/$1o/
- xform/M$/uo/
- xform/([bdflmnptjqx])H$/$1iao/
- xform/([bdlmnptjqx])O$/$1ian/
- xform/^O$/o/
- xform/H$/ua/
- xform/N$/ie/
- xform/O$/uai/
- xform/K$/u/
- xform/([nljqx])L$/$1iang/
- xform/([hgk])L$/$1uang/
# 並擊完成後套用的式樣,追加隔音符號
output_format:
- "xform/^([a-z]+)$/$1'/"
# 並擊過程中套用的式樣,加方括弧
prompt_format:
- "xform/^(.*)$/[$1]/"
translator:
dictionary: luna_pinyin
prism: combo_pinyin
preedit_format:
- xform/([nl])v/$1ü/
- xform/([nl])ue/$1üe/
punctuator:
import_preset: default
key_binder:
import_preset: default
recognizer:
import_preset: default