1# Rime schema settings
2# encoding: utf-8
3
4schema:
5  schema_id: cangjie5_express
6  name: 倉頡五代·快打模式
7  version: "2018.04.14"
8  author:
9    - 發明人 朱邦復先生
10  description: |
11    第五代倉頡輸入法
12    碼表源自倉頡之友發佈的《五倉世紀版》
13    www.chinesecj.com
14    快打模式:
15      - 取消連打
16      - 無重碼自動上屏,有重碼頂字上屏
17      - 取消 , . 翻頁
18      - 取消拼音混打
19  dependencies:
20    - luna_quanpin
21
22switches:
23  - name: ascii_mode
24    reset: 0
25    states: [ 中文, 西文 ]
26  - name: full_shape
27    states: [ 半角, 全角 ]
28  - name: simplification
29    states: [ 漢字, 汉字 ]
30  - name: extended_charset
31    states: [ 常用, 增廣 ]
32  - name: ascii_punct
33    states: [ 。,, ., ]
34
35engine:
36  processors:
37    - ascii_composer
38    - recognizer
39    - key_binder
40    - speller
41    - punctuator
42    - selector
43    - navigator
44    - express_editor
45  segmentors:
46    - ascii_segmentor
47    - matcher
48    - abc_segmentor
49    - punct_segmentor
50    - fallback_segmentor
51  translators:
52    - punct_translator
53    - reverse_lookup_translator
54    - table_translator
55  filters:
56    - simplifier
57    - uniquifier
58    - single_char_filter
59
60speller:
61  alphabet: zyxwvutsrqponmlkjihgfedcba
62  delimiter: " "
63  auto_select: true
64  #max_code_length: 5  # 僅五碼自動上屏
65
66translator:
67  dictionary: cangjie5
68  prism: cangjie5_express
69  enable_charset_filter: true
70  enable_sentence: false
71  preedit_format:
72    - "xlit|abcdefghijklmnopqrstuvwxyz|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符|"
73  comment_format:
74    - "xlit|abcdefghijklmnopqrstuvwxyz~|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符~|"
75  disable_user_dict_for_patterns:
76    - "^z.*$"
77    - "^yyy.*$"
78
79reverse_lookup:
80  dictionary: luna_pinyin
81  prism: luna_quanpin
82  prefix: "`"
83  suffix: "'"
84  tips: 〔拼音〕
85  preedit_format:
86    - xform/([nl])v/$1ü/
87    - xform/([nl])ue/$1üe/
88    - xform/([jqxy])v/$1u/
89  comment_format:
90    - "xlit|abcdefghijklmnopqrstuvwxyz|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符|"
91
92simplifier:
93  tips: all  # 簡化字模式下提示對應的傳統漢字
94
95punctuator:
96  import_preset: default
97
98key_binder:
99  import_preset: default
100  bindings:
101    - { when: paging, accept: comma, send: comma }
102    - { when: has_menu, accept: period, send: period }
103
104recognizer:
105  import_preset: default
106  patterns:
107    reverse_lookup: "`[a-z]*'?$|[a-z]+'$"
108