-
Notifications
You must be signed in to change notification settings - Fork 0
/
jyut6ping3.schema.yaml
102 lines (92 loc) · 2.1 KB
/
jyut6ping3.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
# Rime schema
# encoding: utf-8
__include: template:/
schema:
schema_id: jyut6ping3
name: 粵語拼音
dependencies:
- jyut6ping3_scolar
- luna_pinyin
- loengfan
- cangjie3
- cangjie5
engine:
segmentors:
- ascii_segmentor
- matcher
- affix_segmentor@luna_pinyin
- affix_segmentor@loengfan
- affix_segmentor@cangjie
- affix_segmentor@reverse_lookup
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- punct_translator
- script_translator
- script_translator@luna_pinyin
- script_translator@loengfan
- table_translator@cangjie
translator:
__patch: include:/letter_to_tone
reverse_lookup:
tag: reverse_lookup
prefix: "`"
suffix: ";"
tips: 〔反查〕
luna_pinyin:
tag: luna_pinyin
dictionary: luna_pinyin
enable_sentence: false
enable_user_dict: false
encode_commit_history: false
always_show_comments: true
prefix: "`p"
suffix: ";"
tips: 〔普通話〕
preedit_format:
- xform/([nl])v/$1ü/
- xform/([nl])ue/$1üe/
- xform/([jqxy])v/$1u/
comment_format:
- xform/^/\v/
loengfan:
tag: loengfan
dictionary: loengfan
enable_sentence: false
enable_user_dict: false
encode_commit_history: false
always_show_comments: true
prefix: "`l"
suffix: ";"
tips: 〔粵語兩分〕
__patch: include:/letter_to_tone
comment_format:
- xform/^/\v/
cangjie:
tag: cangjie
dictionary: cangjie5
enable_sentence: false
enable_user_dict: false
encode_commit_history: false
prefix: "`c"
suffix: ";"
tips: 〔倉頡五代〕
comment_format:
- 'xform/^/\v/'
- "xlit|abcdefghijklmnopqrstuvwxyz~|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符~|"
__patch:
- common:/use_cangjie3?
- common:/show_cangjie_roots?
- common:/show_full_code?
recognizer:
patterns:
luna_pinyin: "^`p[a-z']*;?$"
loengfan: "^`l[a-z']*;?$"
cangjie: "^`c[a-z']*;?$"
reverse_lookup: "^`[a-z']*;?$"
__patch:
- common:/disable_completion?
- common:/enable_correction?
- common:/disable_sentence?
- common:/disable_learning?