-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyihdjoouhuah.schema.yaml
136 lines (124 loc) · 2.97 KB
/
yihdjoouhuah.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
# Rime schema
# encoding: utf-8
schema:
schema_id: yihdjoouhuah
name: 嶧州話傳統羅馬字
version: "1.26"
author:
- 陬繹部鄉
description: |
分捲翹的嶧州話羅馬字輸入方案,基本表現中老年嶧州人(棗莊人)的口音,缺憾是沒能分開尖團音。
dependencies:
- stroke
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:
- punct_translator
- table_translator@custom_phrase
- reverse_lookup_translator
- script_translator
filters:
- simplifier
- uniquifier
speller:
alphabet: zyxwvutsrqponmlkjihgfedcba
delimiter: " '"
algebra:
- erase/^xx$/
- abbrev/^([a-z]).+$/$1/
- derive/([dtngkhs])ou$/$1o/
- derive/^djr$/tzw/
- derive/^tjr$/tsw/
- derive/^sr$/sw/
- derive/^sh([ao])$/f$1/
- derive/^shu$/fu/
- derive/^shuai$/fai/
- derive/^shuan$/fan/
- derive/^shuang$/fang/
- derive/^shuei$/fei/
- derive/^shuen$/fen/
- derive/^jru$/tzu/
- derive/^jr([ao])$/tzu$1/
- derive/^jru$/tzu/
- derive/^jrai$/tzuai/
- derive/^jran$/tzuan/
- derive/^jrang$/tzuang/
- derive/^jrei$/tzuei/
- derive/^jren$/tzuen/
- derive/^jrung$/tzung/
- derive/^chr([ao])$/tsu$1/
- derive/^chru$/tsu/
- derive/^chrai$/tsuai/
- derive/^chran$/tsuan/
- derive/^chrang$/tsuang/
- derive/^chrei$/tsuei/
- derive/^chren$/tsuen/
- derive/^chrung$/tsung/
#下面是按錯鍵糾正
- derive/ung$/on/
- derive/([aeiu])ng$/$1gn/
- derive/([aeiu])ng$/$1bg/
- derive/au$/oa/
- derive/au$/ao/
- derive/iou$/iu/
- derive/uen$/un/
- derive/uei$/ui/
- derive/eng$/wng/
- derive/([iu])a(o|ng?)$/a$1$2/
translator:
dictionary: yihdjoouhuah
preedit_format:
- xform/([jy])yu/$1v/
- xform/([shch])v/$1yu/
- xform/^shu$/fu/
- xform/^shu/f/
custom_phrase:
dictionary: ""
user_dict: custom_phrase
db_class: stabledb
enable_completion: false
enable_sentence: false
initial_quality: 1
reverse_lookup:
dictionary: stroke
enable_completion: true
prefix: "`"
suffix: "'"
tips: 〔筆畫〕
preedit_format:
- xlit/hspnz/一丨丿丶乙/
comment_format:
- xform/([nl])v/$1ü/
punctuator:
import_preset: symbols
key_binder:
import_preset: default
recognizer:
import_preset: default
patterns:
punct: "^/([0-9]0?|[a-z]+)$"
reverse_lookup: "`[a-z]*'?$"