-
Notifications
You must be signed in to change notification settings - Fork 5
/
flypy.schema.yaml
104 lines (103 loc) · 2.44 KB
/
flypy.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
custom_phrase:
db_class: stabledb
dictionary: ""
enable_completion: false
enable_sentence: false
initial_quality: 1
user_dict: custom_phrase
customization: 902379129
engine:
filters:
- simplifier
- uniquifier
processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- punct_translator
- reverse_lookup_translator
- "table_translator@custom_phrase"
- script_translator
key_binder:
import_preset: default
punctuator:
full_shape:
"/": "、"
half_shape:
"/": "、"
import_preset: default
recognizer:
import_preset: default
patterns:
email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$"
uppercase: "[A-Z][-_+.'0-9A-Za-z]*$"
url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$"
schema:
author:
- "double pinyin layout by 鶴"
- "Rime schema by 佛振 <chen.sst@gmail.com>"
- "Custom schema by 刘浏 <liu@wentao.org>"
description: |
小鹤双拼,自定义版本。
name: "小鹤双拼"
schema_id: flypy
version: 0.16.custom.902379129
speller:
algebra:
- "erase/^xx$/"
- "derive/^([jqxy])u$/$1v/"
- "derive/^([aoe])([ioun])$/$1$1$2/"
- "xform/^([aoe])(ng)?$/$1$1$2/"
- "xform/iu$/Q/"
- "xform/(.)ei$/$1W/"
- "xform/uan$/R/"
- "xform/[uv]e$/T/"
- "xform/un$/Y/"
- "xform/^sh/U/"
- "xform/^ch/I/"
- "xform/^zh/V/"
- "xform/uo$/O/"
- "xform/ie$/P/"
- "xform/i?ong$/S/"
- "xform/ing$|uai$/K/"
- "xform/(.)ai$/$1D/"
- "xform/(.)en$/$1F/"
- "xform/(.)eng$/$1G/"
- "xform/[iu]ang$/L/"
- "xform/(.)ang$/$1H/"
- "xform/ian$/M/"
- "xform/(.)an$/$1J/"
- "xform/(.)ou$/$1Z/"
- "xform/[iu]a$/X/"
- "xform/iao$/N/"
- "xform/(.)ao$/$1C/"
- "xform/ui$/V/"
- "xform/in$/B/"
- "xlit/QWRTYUIOPSDFGHJKLZXCVBNM/qwrtyuiopsdfghjklzxcvbnm/"
alphabet: zyxwvutsrqponmlkjihgfedcba
delimiter: " '"
switches:
- name: ascii_mode
reset: 0
states: ["中文", "西文"]
- name: full_shape
states: ["半角", "全角"]
- name: simplification
states: ["漢字", "汉字"]
translator:
dictionary: luna_pinyin.extended
preedit_format:
{}
prism: flypy