-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhangul.schema.yaml
202 lines (192 loc) · 5.51 KB
/
hangul.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
# Rime schema
# encoding: utf-8
#
# 한국어 Rime 입력기
#
schema:
schema_id: hangul # 이 ID가 파일명의 .schema.yaml 의 앞부분과 상동하도록 주의
name: 도한글 # (방안메뉴) 안에 표시될 것
version: "1.0.231217" # 문자열에 음수아닌 정수나 소수. 예) "1.2.3"
author:
- '@rockpicado'
description: |-
한국어를 위한 라임 스키마
dependencies:
- handarin
switches:
- name: ascii_mode
reset: 0
states: [ 한글, 영어 ]
- name: full_shape
reset: 0
states: [ 반각, 전각 ]
- name: ascii_punct
reset: 1
states: [ 。,, ., ]
engine:
processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- affix_segmentor@handarin_as_table
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- echo_translator
- punct_translator
- script_translator
- table_translator@handarin_as_table
speller:
alphabet: zyxwvutsrqponmlkjihgfedcba QWERTOPNMJKL
delimiter: " '" # 격음부호로 「'」;최초의 공백은 자동삽입된 음절구분용
algebra:
- 'abbrev/^([QWERTqwertasdfgzxcv]).+$/$1/' #초성검색
- "abbrev/[rsefaqtdwczxvgQWERT]([yuiophjklbnmOP]+)$/$1/" #중성검색
translator:
dictionary: hangul # 지구병음사전 자동번역자료
preedit_format: # 이벌식코드를 한글로 표현
- "xlit|rsefaqtdwczxvgQWERT|ㄱㄴㄷㄹㅁㅂㅅㅇㅈㅊㅋㅌㅍㅎㅃㅉㄸㄲㅆ|"
- "xlit|yuiophjklbnmOP|ㅛㅕㅑㅐㅔㅗㅓㅏㅣㅠㅜㅡㅒㅖ|"
- "xform|ㅗㅏ|ㅘ|"
- "xform|ㅗㅐ|ㅙ|"
- "xform|ㅗㅣ|ㅚ|"
- "xform|ㅜㅓ|ㅝ|"
- "xform|ㅜㅔ|ㅞ|"
- "xform|ㅜㅣ|ㅟ|"
- "xform|ㅡㅣ|ㅢ|"
- "xlit|NMJKL|乙一丿丶丨|"
enable_user_dict: false
handarin_as_table:
tag: handarin
dictionary: handarin
enable_sentence: false
prefix: "`"
suffix: ";"
tips: 〔漢字〕
preedit_format:
- xform/^([nmjkl]+)/\U$1/
- "xlit|rsefaqtdwczxvgQWERT|ㄱㄴㄷㄹㅁㅂㅅㅇㅈㅊㅋㅌㅍㅎㅃㅉㄸㄲㅆ|"
- "xlit|yuiophjklbnmOP|ㅛㅕㅑㅐㅔㅗㅓㅏㅣㅠㅜㅡㅒㅖ|"
- "xform|ㅗㅏ|ㅘ|"
- "xform|ㅗㅐ|ㅙ|"
- "xform|ㅗㅣ|ㅚ|"
- "xform|ㅜㅓ|ㅝ|"
- "xform|ㅜㅔ|ㅞ|"
- "xform|ㅜㅣ|ㅟ|"
- "xform|ㅡㅣ|ㅢ|"
- "xform/JKMLNMLNMLNMLNMLL/龠"
- "xform/JNLNMMLNNNMNMMJK/龜"
- "xform/JLNMMLNNMMNMMNJKM/龜"
- "xform/KMKJMJNKKMNMNMMM/龍"
- "xform/KMKJMLNMMMNMNMMM/龍"
- "xform/LMLMJKJKMJKJKNL/齒"
- "xform/KMKJLNJJNKJLMM/齊"
- "xform/JLNMMMLNMLMMJL/鼻"
- "xform/JLMNMMNMMNMMN/鼠"
- "xform/JLMNMMNKKNKKN/鼠"
- "xform/MLMLNMKJMMLNK/鼓"
- "xform/LNMMMNLMJLMLN/鼎"
- "xform/LNMMMNMJLMLN/鼎"
- "xform/LNMMLNMLMMNMM/黽"
- "xform/LLKJMJKLNNJK/黹"
- "xform/LLKJMKJLNLJK/黹"
- "xform/LNKJMMLMKKKK/黑"
- "xform/LNKJMLMMKKKK/黑"
- "xform/JMLJKJKNKKJK/黍"
- "xform/JMLJKJKLKMJK/黍"
- "xform/MLLMMLNMLMJK/黃"
- "xform/KMJMLJNMLJN/麻"
- "xform/KMJMLJKMLJK/麻"
- "xform/MLJKJKJKJNK/麥"
- "xform/KMJNLLMMNMN/鹿"
- "xform/KMJNLLMMNJN/鹿"
- "xform/JLNMMMNKKKK/鹵"
- "xform/JNLNMLMKKKK/魚"
- "xform/JLNMLMJNNK/鬼"
- "xform/JLNMMJNNK/鬼"
- "xform/MLNMLNKJML/鬲"
- "xform/JKKKKKNLMN/鬯"
- "xform/JKKKKKNLJN/鬯"
- "xform/LMMLMMMLMN/鬥"
- "xform/LMMLMMMLML/鬥"
- "xform/LMMMMNKJJJ/髟"
- "xform/MLMMMNKJJJ/髟"
- "xform/KMLNMLNLNM/高"
- "xform/LNMLKNJNKK/骨"
- "xform/LNNKNLNMM/骨"
- "xform/LMMMLNKKKK/馬"
- "xform/MLMMLNKKKK/馬"
- "xform/JMLJKLNMM/香"
- "xform/KJMJLNMMM/首"
- "xform/JKMNMMNJK/食"
- "xform/JKKNMMNJK/食"
- "xform/NJKJJNJKL/飛"
- "xform/NJKJNJKJL/飛"
- "xform/JNMLNMLMK/風"
- "xform/JNJLNMLMK/風"
- "xform/MJLNMMMJK/頁"
- "xform/KMKJMLNMM/音"
- "xform/LMMMLMMMM/韭"
- "xform/NLMLNMMNL/韋"
- "xform/MLLMLNMML/革"
- "xform/JMMMLMMM/非"
- "xform/LMMMLMMM/非"
- "xform/MMLMJNLM/靑"
- "xform/MMLMLNLM/靑"
- "xform/MLNLKKJK/雨"
- "xform/MLNLKKKK/雨"
- "xform/JLKMMMLM/隹"
- "xform/NMMNKKJK/隶"
- "xform/NMMLKMJK/隶"
- "xform/JLNMNMML/阜"
- "xform/LNMMLNMM/門"
- "xform/LMMMMNJK/長"
- "xform/MLMMMNJK/長"
- "xform/JKMMLKJM/金"
- "xform/LNMMMLM/里"
- "xform/LNMMLMM/里"
- "xform/JKJMLJK/釆"
- "xform/MLNJNMM/酉"
- "xform/LNMNLMN/邑"
- "xform/JJJLMJK/辵"
- "xform/MJMMNJK/辰"
- "xform/KMKJMML/辛"
- "xform/MLNMMML/車"
- "xform/JLNMMMJ/身"
- "xform/LNMLMJK/足"
- "xform/MLMLMJK/走"
- "xform/MLMJNJK/赤"
- "xform/MLMJLJK/赤"
- "xform/LNMMMJK/貝"
- "xform/JKKJNJJ/豸"
- "xform/MJNJJJK/豕"
- "xform/MLNMKJM/豆"
- "xform/JKJKLNM/谷"
- "xform/KMMMLNM/言"
- "xform/JNJNMLM/角"
- "xform/JNJNMML/角"
- "xform/LNMMMJN/見"
- "xlit|NMJKL|乙一丿丶丨|"
ascii_composer:
switch_key:
Shift_L: noop
Shift_R: noop
punctuator:
import_preset: default
key_binder:
import_preset: default
recognizer:
patterns:
uppercase: ""
punct: "^/([0-9]0?|[A-Za-z]+)$"
handarin: "^`[A-Za-z']*;?$"
import_preset: default