-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjyut6ping3_nf.schema.yaml
52 lines (47 loc) · 1.42 KB
/
jyut6ping3_nf.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
# Rime schema
# encoding: utf-8
__include: jyut6ping3.schema:/
schema:
schema_id: jyut6ping3_nf
name: 粵語拼音(新法蘭西拼音版)
version: "2021.05.01"
description: |-
採用香港語言學學會粵語拼音方案
https://www.lshk.org/jyutping
支援新法蘭西拼音顯示
Telegram 用户交流組 https://t.me/rime_cantonese
translator:
prism: jyut6ping3_nf
preedit_format:
############## 正則化:轉換為正確粵拼 ##############
- xform/([^ 'a])a(?=$|[ '])|aa?(?=[vxq])/$1aa/
- xform/(^|[ '])[jy]u(?!ng|k)/$1jyu/
- xform/(^|[ '])y(?=$|[ '])/$1j/
- xform/(^|[ '])yu?(n|t)?(?=$|[vxq '])/$1jyu$2/
- xform/(^|[ '])y/$1j/
- xform/(oe|eo)y(?=$|[vxq '])/eoi/
- xform/yu?/yu/
- xform/oe([int])(?=$|[vxq '])/eo$1/
- xform/eo(ng|k)?(?=$|[vxq '])/oe$1/
- xform/q(?=[aeiou])//
- xform/(g|k)wu/$1u/
###################################################
- xform/eoi/œ̈ü/
- xform/a/ä/
- xform/ää/a/
- xform/e(?=i)|i(?=ng|k)/ë/
- xform/o(?=u)|u(?=ng|k)/ö/
- xform/oe/œ/
- xform/eo/œ̈/
- xform/yu/ü/
- xform/gw/gu/
- xform/kw/ku/
- xform/z/dz/
- xform/c/ts/
- xform/j/y/
- xform/([aeioumngptk])vv/$1꜖/
- xform/([aeioumngptk])xx/$1꜖꜔/
- xform/([aeioumngptk])qq/$1꜕/
- xform/([aeioumngptk])v/$1꜒/
- xform/([aeioumngptk])x/$1꜖꜒/
- xform/([aeioumngptk])q/$1꜔/