-
Notifications
You must be signed in to change notification settings - Fork 0
/
array30_ex_full.schema.yaml
134 lines (125 loc) · 2.9 KB
/
array30_ex_full.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# Rime schema settings
# encoding: utf-8
# 行列改
#
# Jiehong Ma <ma.jiehong@gmail.com>
# 天道玄虛 <reniastyc.de.em@gmail.com> 修改版
# 移除了所有罕用字指示符「I」
# 將前半部分的四碼偏旁修改爲單碼
# 移除了特別碼
# 支持詞組輸入,組詞時可用首尾碼代替全碼
schema:
schema_id: array30_ex_full
name: "行列改"
version: "0.35ex"
author:
- 發明人:廖明德先生
- Jiehong Ma <ma.jiehong@gmail.com>
- 修改者:天道玄虛 <reniastyc.de.em@gmail.com>
description: |
行列三十輸入法,天道玄虛修改版
http://www.array.com.tw/
全字庫版本
dependencies:
- luna_quanpin
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:
- script_translator
- punct_translator
- reverse_lookup_translator
filters:
- simplifier
- uniquifier
speller:
alphabet: "abcdefghjiklmnopqrstuvwxyz;,./"
delimiter: " '"
algebra:
- fuzz/^(.).+(.)$/$1$2/
#首尾簡碼
translator:
dictionary: array30_ex_full
strict_spelling: true #簡碼僅用於組詞
disable_user_dict_for_patterns:
- "^[;,./]$" #符號鍵單碼不調頻
preedit_format: &format
- 'xform|q|1↑|'
- 'xform|w|2↑|'
- 'xform|e|3↑|'
- 'xform|r|4↑|'
- 'xform|t|5↑|'
- 'xform|y|6↑|'
- 'xform|u|7↑|'
- 'xform|i|8↑|'
- 'xform|o|9↑|'
- 'xform|p|0↑|'
- 'xform|a|1-|'
- 'xform|s|2-|'
- 'xform|d|3-|'
- 'xform|f|4-|'
- 'xform|g|5-|'
- 'xform|h|6-|'
- 'xform|j|7-|'
- 'xform|k|8-|'
- 'xform|l|9-|'
- 'xform|;|0-|'
- 'xform|z|1↓|'
- 'xform|x|2↓|'
- 'xform|c|3↓|'
- 'xform|v|4↓|'
- 'xform|b|5↓|'
- 'xform|n|6↓|'
- 'xform|m|7↓|'
- 'xform|,|8↓|'
- 'xform|\.|9↓|'
- 'xform|/|0↓|'
comment_format: *format
reverse_lookup:
dictionary: luna_pinyin
prism: luna_quanpin
prefix: "`"
suffix: "'"
tips: 〔拼音〕
preedit_format:
- xform/([nl])v/$1ü/
- xform/([nl])ue/$1üe/
- xform/([jqxy])v/$1u/
comment_format: *format
punctuator:
import_preset: symbols
key_binder:
import_preset: default
bindings:
- { when: paging, accept: comma, send: comma }
- { when: has_menu, accept: period, send: period }
recognizer:
patterns:
email: "^[a-z][-_.0-9a-z]*@.*$"
uppercase: "[A-Z][-_+.'0-9A-Za-z]*$"
url: "^(www[.]|https?:|ftp:|mailto:).*$"
punct: '^/([A-Za-z]+)$'
reverse_lookup: "`[a-z]*'?$"