Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Rime schema settings
- # encoding: utf-8
- # Derived from rime/rime-quick with various edits
- # Mostly because patch file is way too annoying
- #
- # Patches:
- # 1. Enable opencc translation. Default to HK words
- # 2. Reverse lookup from jyutping. Start lookup by `Z`
- # 3. Emoji opencc suggestion. But it seems broken
- schema:
- schema_id: quick5
- name: 速成
- version: "0.20"
- author:
- - 佛振 <chen.sst@gmail.com>
- description: |
- 速成、倉頡詞句連打
- 碼表源自倉頡之友發佈的《五倉世紀版》
- www.chinesecj.com
- "dependencies":
- - "jyutping"
- switches:
- - name: "ascii_mode"
- reset: 0
- states: ["中文", "西文"]
- - name: full_shape
- states: ["半角", "全角"]
- - options: ["noop", "trad_hk", "simp_cn"]
- reset: 1
- states: ["不轉換", "香港繁體", "大陆简体"]
- - name: "ascii_punct"
- states: ["。,", ".,"]
- - name: "emoji_suggestion"
- reset: 1
- states: ["🈚️️\uFE0E", "🈶️️\uFE0F"]
- engine:
- processors:
- - ascii_composer
- - recognizer
- - key_binder
- - speller
- - punctuator
- - selector
- - navigator
- - express_editor
- segmentors:
- - ascii_segmentor
- - matcher
- - affix_segmentor@jyutping
- - abc_segmentor
- - punct_segmentor
- - fallback_segmentor
- translators:
- - punct_translator
- - script_translator
- - table_translator@jyutping
- filters:
- - "simplifier@trad_hk"
- - "simplifier@simp_cn"
- - "simplifier@emoji_suggestion"
- - "uniquifier"
- - "reverse_lookup_filter@reverse_lookup"
- speller:
- alphabet: zyxwvutsrqponmlkjihgfedcba
- delimiter: " ;'"
- algebra:
- - 'derive/^([^z])\w+(\w)$/$1$2/' # 取倉頡首尾二碼爲速成碼
- translator:
- dictionary: quick5.extended
- prism: quick5
- preedit_format:
- - "xlit|abcdefghijklmnopqrstuvwxyz;'|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符··|"
- comment_format:
- - "xlit|abcdefghijklmnopqrstuvwxyz~|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符~|"
- disable_user_dict_for_patterns:
- - "^z.*$"
- - "^yyy.*$"
- jyutping:
- tag: jyutping
- dictionary: jyutping
- prefix: "Z"
- suffix: ";"
- tips: 〔粵拼〕
- reverse_lookup:
- tags: [jyutping]
- overwrite_comment: false
- dictionary: quick5
- comment_format:
- - "xlit|abcdefghijklmnopqrstuvwxyz~|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符~|"
- punctuator:
- import_preset: default
- key_binder:
- import_preset: default
- recognizer:
- import_preset: default
- patterns:
- punct: "^/([0-9]0?|[a-z]+)$"
- jyutping: "Z[a-z]*;?$"
- trad_hk:
- option_name: "trad_hk"
- opencc_config: "t2hk.json"
- simp_cn:
- option_name: "simp_cn"
- opencc_config: "t2s.json"
- emoji_suggestion:
- opencc_config: "emoji.json"
- option_name: "emoji_suggestion"
- tips: "all"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement