-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjyut6ping3_bpmf_cpg.schema.yaml
67 lines (57 loc) · 1.42 KB
/
jyut6ping3_bpmf_cpg.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
# Rime schema
# encoding: utf-8
__include: jyut6ping3.schema:/
schema:
schema_id: jyut6ping3_bpmf_cpg
name: 粵語拼音(人民政府注音版)
version: "2020.05.26"
description: |-
採用香港語言學學會粵語拼音方案
https://www.lshk.org/jyutping
支援人民政府注音顯示
Telegram 用户交流組 https://t.me/rime_cantonese
translator:
dictionary: jyut6ping3
prism: jyut6ping3_bpmf_cpg
spelling_hints: 8
preedit_format:
# 聲調
- xform/([ptk])qq/$1ʻ/
- xform/([ptk])q/$1/
- xform/([ptk])v/$1˙/
- xform/vv/ˊ/
- xform/v/ˉ/
- xform/xx/˘/
- xform/x/ˇ/
- xform/qq/ˆ/
- xform/q/ˋ/
# 聲母簡拼
- xform/jy/y/
- xform/yu/v/
- xform/(j|y)i/i/
- xform/(j|y)/i/
- xform/gw/ㆼ/
- xform/kw/ㆽ/
- xform/wu/u/
- xform/w/u/
# 雙字符轉換
- xform/(oe|eo)/O/
- xform/(^|[ '])ng/$1x/
- xform/ng/X$1/
# aa 轉換
- xform/aai/ㄞ/
- xform/aau/ㄠ/
- xform/aan/ㄢ/
- xform/aaX/ㄤ/
- xform/aa/A/
# a 轉換
- xform/ai/ㄟ/
- xform/au/ㄡ/
- xform/an/ㄣ/
- xform/aX/ㄥ/
# 尾音轉換
- xform/(A|a|e|i|o|u|v|O)(m|n|x|p|t|k)/$1\U$2/
# 尾音下標一點
- xform/([MNXPTK])/$1̣/
# 轉換成注音符號
- "xlit|abcdefghiklmnopstuvxzAOMNXPTK|ㆿㄅㄑㄉㄝㄈㄍㄏㄧㄎㄌㄇㄋㄛㄆㄒㄊㄨㄩㄫㄐㄚㆾㄇㄋㄫㄆㄊㄎ|"