-
Notifications
You must be signed in to change notification settings - Fork 6
/
array30_query.schema.yaml
88 lines (79 loc) · 2.55 KB
/
array30_query.schema.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Rime schema settings
# encoding: utf-8
schema:
schema_id: array30_query
name: "行列30萬用字元"
version: "1.0"
author:
- Terry Tsang <[email protected]>
description: |
行列30萬用字元功能。此方案用作輔助行列30方案,不適宜獨立使用。
dependencies:
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 英文 ]
- name: full_shape
states: [ 半角, 全角 ]
- name: simplification
states: [ 漢字, 汉字 ]
- name: extended_charset
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
- table_translator
speller:
alphabet: "abcdefghjiklmnopqrstuvwxyz;,./?"
delimiter: "'"
algebra:
- xform/^(.*)!$/$1/ # 簡碼
- xform/^(.*)@$/$1/ # 特別碼(須置於簡碼之後)
# "?"萬用字元
- derive/^([^?])([^?])?([^?])?[^?](i)?$/$1$2$3\?$4/ # .(.)(.)?(i)
- derive/^([^?])([^?])[^?]([^?])(i)?$/$1$2\?$3$4/ # ..?.(i)
- derive/^([^?])([^?])?[^?][^?](i)?$/$1$2\?\?$3/ # .(.)??(i)
- derive/^([^?])[^?]([^?])([^?])?(i)?$/$1\?$2$3$4/ # .?.(.)(i)
- derive/^([^?])[^?]([^?])[^?](i)?$/$1\?$2\?$3/ # .?.?(i)
- derive/^([^?])[^?][^?]([^?])(i)?$/$1\?\?$2$3/ # .??.(i)
- derive/^([^?])[^?][^?][^?](i)?$/$1\?\?\?$2/ # .???(i)
- derive/^[^?]([^?])([^?])?([^?])?(i)?$/\?$1$2$3$4/ # ?.(.)(.)(i)
- derive/^[^?]([^?])([^?])?[^?](i)?$/\?$1$2\?$3/ # ?.(.)?(i)
- derive/^[^?]([^?])[^?]([^?])(i)?$/\?$1\?$2$3/ # ?.?.(i)
- derive/^[^?]([^?])[^?][^?](i)?$/\?$1\?\?$2/ # ?.??(i)
- derive/^[^?][^?]([^?])([^?])?(i)?$/\?\?$1$2$3/ # ??.(.)(i)
- derive/^[^?][^?]([^?])[^?](i)?$/\?\?$1\?$2/ # ??.?(i)
- derive/^[^?][^?][^?]([^?])(i)?$/\?\?\?$1$2/ # ???.(i)
menu:
page_size: 10
translator:
dictionary: array30_query
enable_charset_filter: true
enable_user_dict: true
enable_completion: true
enable_sentence: true
preedit_format:
__include: array30.schema.yaml:/array30_format
comment_format:
__include: array30.schema.yaml:/array30_format
key_binder:
import_preset: default
recognizer:
import_preset: default