forked from leimaau/naamning_jyutping
-
Notifications
You must be signed in to change notification settings - Fork 0
/
naamning_bingwaa_ipa.schema.yaml
190 lines (169 loc) · 4.66 KB
/
naamning_bingwaa_ipa.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
# Rime schema
# encoding: utf-8
schema:
schema_id: naamning_bingwaa_ipa
name: "南寧(亭子)平話(IPA)"
version: "2021.04.30"
author:
- LeiMaau <leimaau@qq.com>
description: |
採用『香港語言學會粵語拼音方案』
聲調輸入 q平 v上 x去 (雙擊爲陽調)
IPA版提供多種字形轉換和提示音爲IPA
提供六種反查方案,[`]普拼反查粵拼,[x]五筆畫反查粵拼,[v]倉頡五代反查粵拼,[r]五筆86反查粵拼,[xx]用普拼反查中古音,[xj]用粵拼反查中古音
PC上按Ctrl+Enter可將提示音上屏,按Ctrl+Shift+Enter可將候選項上屏
註釋reverse_lookup/tags可顯示釋義,可根據需要自行開啓
項目主頁 https://github.com/leimaau/naamning_jyutping
dependencies:
- luna_pinyin
- stroke
- cangjie5
- wubi86
- zyenpheng
switches:
- options: [simplification, noop, zh_hk, zh_tw, zh_jp]
reset: 0
states:
- 字形 → 大陸
- 字形 → 傳統〔不轉換〕
- 字形 → 香港
- 字形 → 臺灣
- 字形 → 日本
- name: emoji_cn
reset: 0
states: [ 〇, 😊 ]
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]
- name: ascii_punct
states: [ 。,, ., ]
engine:
__include: naamning_bingwaa.schema:/engine
__patch:
filters:
- simplifier
- simplifier@zh_hk
- simplifier@zh_tw
- simplifier@zh_jp
- simplifier@emoji_cn
- uniquifier
- reverse_lookup_filter@reverse_lookup
- reverse_lookup_filter@zyenpheng_reverse_lookup
speller:
__include: naamning_bingwaa.schema:/speller
menu:
__include: naamning_bingwaa.schema:/menu
translator:
dictionary: naamning_bingwaa
prism: naamning_bingwaa_ipa
spelling_hints: 5 # 標註拼音的字數,建議橫排顯示時設置爲1
preedit_format:
- xform/(^|[ '])(m)+$/$1$2̩/
- xform/(^|[ '])(ng)+$/$1$2̍/
- xform/([ptk])xx/$1˨/
- xform/([ptk])x/$1˥/
- xform/([ptk])vv/$1˨˦/
- xform/([ptk])v/$1˧/
- xform/qq/˨˩/
- xform/(^|[ '])q/$1ʔ/
- xform/q/˥˧/
- xform/vv/˨˦/
- xform/v/˧/
- xform/xx/˨/
- xform/x/˥/
- xform/([PTK])$/$1]$2/
- xform/(^|[ '])(jy|[jy])u([t])/$1jYː$3]/
- xform/([dtlgkhzcsj])yu([t])/$1Yː$2]/
- xform/sl/ɬ/
- xform/(^|[ '])(jy)u/$1jYː/
- xform/yu/Yː/
- xform/y([aeior])/j$1/
- xform/(aa|r)([iu])/Aː\U$2/
- xform/a([iu])/ɐ\U$1/
- xform/(aa|r)([ptk])/Aː\U$2]/
- xform/a([ptk])/ɐ\U$1]/
- xform/(aa|r)/Aː/
- xform/b/P/
- xform/c/T͡ʃH/
- xform/d/T/
- xform/eu/ɛːU/
- xform/oe([ptk])/œː$1]/
- xform/oe(ng)/œː$1/
- xform/oe/œː/
- xform/eo(ng)/œːŋ/
- xform/eo([k])/œː$1]/
- xform/ou/OU/
- xform/u([k])/O$1]/
- xform/ui/UːI/
- xform/iu/IːU/
- xform/i(ng)/EN/
- xform/ik/EK]/
- xform/i([pt])/Iː$1]/
- xform/a/ɐ/
- xform/ei/EI/
- xform/i/Iː/
- xform/e([ptk])/ɛː$1]/
- xform/e/ɛː/
- xform/Iːɐ/Iɐ/
- xform/Iːɐk/Iɐk]/
- xform/Iːɐng/IɐN/
- xform/o([ptk])/O$1]/
- xform/u([pt])/Uː$1]/
- xform/u(ng)/ON/
- xform/o/O/
- xform/u/Uː/
- xform/ng/N/
- xform/n/n/
- xform/kw/KWH/
- xform/gw/KW/
- xform/g/K/
- xform/(^|[ '])([ptk])/$1$2H/
- xform/w/w/
- xform/j/j/
- xform/m/m/
- xform/l/l/
- xform/s/ʃ/
- xform/z/T͡ʃ/
- xform/em/ɛːm/
- xform/en/ɛːn/
- xform/nj/ȵ/
- "xlit|PmfTnNlKhHsʃjwWɐAEɛIɪɔOœɵUʊYː]|pmftnŋlkhʰsʃjwʷɐaeɛiɪɔoœɵuʊyː̚|"
comment_format:
- xform/\(.+?\)// # 處理組詞拼音
- xform/「.+?」// # 處理組詞拼音
luna_pinyin:
__include: naamning_bingwaa.schema:/luna_pinyin
stroke:
__include: naamning_bingwaa.schema:/stroke
cangjie5:
__include: naamning_bingwaa.schema:/cangjie5
wubi86:
__include: naamning_bingwaa.schema:/wubi86
reverse_lookup:
__include: naamning_bingwaa.schema:/reverse_lookup
puping_to_zyenpheng:
__include: naamning_bingwaa.schema:/puping_to_zyenpheng
jyutping_to_zyenpheng:
__include: naamning_bingwaa.schema:/jyutping_to_zyenpheng
zyenpheng_reverse_lookup:
__include: naamning_bingwaa.schema:/zyenpheng_reverse_lookup
punctuator:
__include: naamning_bingwaa.schema:/punctuator
key_binder:
__include: naamning_bingwaa.schema:/key_binder
recognizer:
__include: naamning_bingwaa.schema:/recognizer
zh_hk:
option_name: zh_hk
opencc_config: t2hk.json
zh_tw:
option_name: zh_tw
opencc_config: t2tw.json
zh_jp:
option_name: zh_jp
opencc_config: t2jp.json
emoji_cn:
opencc_config: emoji.json
option_name: emoji_cn