-
Notifications
You must be signed in to change notification settings - Fork 1
/
hangyl.schema.yaml
141 lines (131 loc) · 2.65 KB
/
hangyl.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
# Rime schema
# vim: set sw=2 sts=2 et:
# encoding: utf-8
schema:
schema_id: hangyl
name: 한글 ₀.₉₃
version: "0.93"
author:
- Patrick <[email protected]>
- 雪齋 <[email protected]>
description: |
한글입력법 for Rime
ㄱg ㄴn ㄷd ㄹlr ㅁm ㅂbv ㅅs ㅇqx
ㅈjz ㅊc ㅋk ㅌt ㅍpf ㅎh
ㅏaㅐai ㅑia ㅒiai ㅓe ㅔei ㅕie ㅖiei
ㅗo ㅘoa ㅙoai ㅚoi ㅛio
ㅜu ㅝue ㅞuei ㅟui ㅠiu
ㅡy ㅢyi ㅣi
switches:
- name: half_shape
states: [ 半角, 全角 ]
reset: 0
engine:
processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
- fluency_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- punct_translator
- r10n_translator
- echo_translator
- reverse_lookup_translator
filters:
- simplifier
- uniquifier
speller:
alphabet: 'zyxwvutsrqponmlkjihgfedcba'
initials: 'zyxwvutsrqponmlkjihgfedcba'
delimiter: " '"
algebra:
- abbrev/^([gndlmbsqjcktph]).+$/$1/
- derive/(^|[ '])q?([aeiouy])/$1$2/
- derive/'//
- derive/q$/ng/
- derive/q/x/
- derive/l/r/
- derive/b/v/
- derive/p/f/
- derive/j/z/
- derive/u/w/
- derive/oa/wa/
- derive/u([ei])/w$1/
- derive/ue/wo/
- derive/i([aeou])/y$1/
- derive/^([A-Za-z]+)\d$/$1/
translator:
dictionary: hangyl
prism: hangyl
spelling_hints: 9
preedit_format:
- xform/'/ /
- xform/(^|[ '])([qx])/$1/
- xform/([qx])/ng/
comment_format:
- xform/(^|[ '])q/$1/
- xform/q/ng/
reverse_lookup:
dictionary: hangyl_hanja
prefix: "`"
tips: 〔漢字・한자〕
comment_format:
- xform/(^|[ '])q/$1/
- xform/q/ng/
punctuator:
import_preset: default
full_shape:
"$" : [ ₩, ¥, "$", "€", "£", "¥", "¢", "¤" ]
half_shape:
"$" : [ ₩, "$", "€", "£", "¥", "¢", "¤" ]
"," : { commit: "," }
"." : { commit: "." }
"<" : "<"
">" : ">"
"/" : "/"
"?" : { commit: "?" }
";" : { commit: ";" }
":" : { commit: ":" }
"'" : "'"
"\"" : "\""
"\\" : "\\"
"|" : "|"
"`" : "`"
"~" : "~"
"!" : { commit: "!" }
"@" : "@"
"#" : "#"
"%" : "%"
"^" : "^"
"&" : "&"
"*" : "*"
"(" : "("
")" : ")"
"-" : "-"
"_" : "_"
"+" : "+"
"=" : "="
"[" : "["
"]" : "]"
"{" : "{"
"}" : "}"
key_binder:
import_preset: default
recognizer:
import_preset: default
patterns:
reverse_lookup: "`[a-z]*$"
abc_segmentor:
extra_tags:
#- reverse_lookup