-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsautungva_cyrillic.schema.yaml
226 lines (212 loc) · 5.67 KB
/
sautungva_cyrillic.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
# Rime schema
# encoding: utf-8
schema:
schema_id: sautungva_cyrillic
name: 邵東話西里爾
version: "0.1"
author:
- 轀輬 <[email protected]>
description: |
「邵東話西里尔拼音自編」,以按鍵ьъшрж輸入五聲(聽感近似的陰陽去聲45皆可以用р表示)
dependencies:
- luna_pinyin
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]
- name: ascii_punct
states: [ ,。, ,. ]
- name: simplification
states: [ 漢字, 汉字 ]
engine:
processors:
#- key_binder
- ascii_composer
- key_binder
- recognizer
#- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- affix_segmentor@cyrillic
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- punct_translator
- script_translator
- table_translator@cyrillic
- reverse_lookup_translator
filters:
- simplifier
- uniquifier
speller:
alphabet: "OazertyuiopQWqsdfghjklmAwxcvbn,;:="
initials: "OazertyuiopQWqsdfghjklmAwxcvbn,;:="
delimiter: " '"
algebra:
#- xform/\d// # 無聲調
- xform/\|.+$// # 注释
#- xlit OjCukEngSczxqfyvaproldZeAQsmitwbU ёйцукенгшщзхъфывапролджэячсмитьбю
- derive/П//
- xform/^([aeiouy])/й$1/
- derive/(u)ng/$1n/
- derive/([iu]a)ng/$1n/
- xform/tsh/ҵ/
- xform/tch/ꙉ/
- xform/kh/қ/
- xform/th/ҭ/
- xform/ph/ԥ/
- xform/tc/ћ/
- xform/ng/ҥ/
- xform/dz([iy])/ђ$1/
- xform/dz/ѕ/
- xform/ts/ц/
- xform/z([iy])/ҙ$1/
- xform/ia/я/
- xform/ie/е/
- xform/io/ё/
- xform/e([un])/ә$1/
- xform/ei/єi/
- xlit bpmfvdtlgkxnhaouyeszci бпмфвдтлгкхњһаоуюэсзщи
#- xlit bpmfvdtlgkxnhaouyeszc бпмфвдтлгкхњһаоуюэсзщ
#- xform/iа/я/
#- xform/iэ/е/
#- xform/io/ё/
#- xform/э([уњ])/ә$1/
#- xform/юә/юэ/
#- xform/эi/єi/
#- xform/i/и/
#- derive/њ/н/
#- derive/һ/хх/
#- derive/ҵ/цх/
#- derive/ꙉ/чх/
#- derive/қ/кх/
#- derive/ҭ/тх/
#- derive/ԥ/пх/
#- derive/ћ/ч/
#- derive/ҥ/нг/
#- derive/ђ/чч/
#- derive/ѕ/цц/
#- derive/ҙ/з/
- derive/њ/y/
- derive/һ/QQ/
- derive/ҵ/zQ/
- derive/ꙉ/xQ/
- derive/қ/rQ/
- derive/ҭ/nQ/
- derive/ԥ/gQ/
- derive/ћ/x/
- derive/ҥ/yu/
- derive/ђ/xx/
- derive/ѕ/zz/
- derive/ҙ/p/
- derive/ә/A/
- derive/є/A/
- derive/й//
- derive/к([012345])/$1/
- derive/п([012345])/$1/
- derive/т([012345])/$1/
- derive/м([012345])$/н$1/
- "derive/1/,/"
- "derive/2/W/"
- "derive/3/i/"
- "derive/4/h/"
- "derive/5/m/"
- "derive/5/h/"
- "derive/[12345]//"
- "xlit|ёйцукенгшщзхъфывапролджэячсмитьбюѕ|OazertyuiopQWqsdfghjklmAwxcvbn,;:=|"
- fuzz/^([OazertyuiopQWqsdfghjklmAwxcvbn]).+$/$1/
translator:
dictionary: sautungva
spelling_hints: 10
prism: sautungva_cyrillic
preedit_format:
- xform/\|.+$// # 注释
- "xlit|OazertyuiopQWqsdfghjklmAwxcvbn,;:=|ёйцукенгшщзхъфывапролджэячсмитьбюѕ|"
comment_format:
- xform ([aeiou])(ng?)([012345]) $1$3$2
- xform ([aeo])([iuo])([012345]) $1$3$2
- xform ng([012345]) n$1g
- xform/\|.+$// # 注释
- xform/(sh?)([012345])/$1ь$2/
- xform/(z)([012345])/$1ь$2/
- xform/tsh/ҵ/
- xform/tch/ꙉ/
- xform/kh/қ/
- xform/th/ҭ/
- xform/ph/ԥ/
- xform/tc/ћ/
- xform/n([012345]?)g/ҥ$1/
- xform/dz([iy])/ђ$1/
- xform/dz/ѕ/
- xform/ts/ц/
- xform/z([iy])/ҙ$1/
- xform/i([012345]?)a/я$1/
- xform/i([012345]?)e/е$1/
- xform/i([012345]?)o/ё$1/
- xform/e([012345]?)([un])/ә$1$2/
- xform/e([012345]?)i/є$1i/
- xform/([яaә])([012345]?)u/$1$2ү/
- xform/е([012345]?)u/ӛ$1ү/
- xlit bpmfvdtlgkxnhaouyeszci бпмфвдтлгкхњһаоуюэсзщи
- xform 1 ̄
- xform 2 ́
- xform 3 ̌
- xform 4 ̀
- xform 5 ̣
cyrillic:
tag: cyrillic
dictionary: cyrillic_1
spelling_hints: 10
enable_user_dict: false
prefix: 'i'
suffix: "'"
tips: 〔西里爾〕
closing_tips: 〔邵東話〕
preedit_format:
- "xlit|OazertyuiopQWqsdfghjklmAwxcvbn,;:|ёйцукенгшщзхъфывапролджэячсмитьбю|"
reverse_lookup:
dictionary: luna_pinyin
prefix: "`"
suffix: "'"
tips: 〔拼音〕
preedit_format:
- xform/([nl])v/$1ü/
- xform/([nl])ue/$1üe/
- xform/([jqxy])v/$1u/
comment_format:
- xform/\|.+$// # 注释
- xform/tsh/ҵ/
- xform/tch/ꙉ/
- xform/kh/қ/
- xform/th/ҭ/
- xform/ph/ԥ/
- xform/tc/ћ/
- xform/ng/ҥ/
- xform/dz([iy])/ђ$1/
- xform/dz/ѕ/
- xform/ts/ц/
- xform/z([iy])/ҙ$1/
- xform/ia/я/
- xform/ie/е/
- xform/io/ё/
- xform/e([un])/ә$1/
- xform/ei/єi/
- xlit bpmfvdtlgkxnhaouyeszci бпмфвдтлгкхњһаоуюэсзщи
punctuator:
import_preset: default
key_binder:
import_preset: default
recognizer:
import_preset: default
patterns:
reverse_lookup: "^`[abcdefghijklmnopqrestuvwxyz]*'?$"
cyrillic: "^i[OazertyuiopQWqsdfghjklmAwxcvbn,;:]*'?$"