-
Notifications
You must be signed in to change notification settings - Fork 0
/
hepy.schema.yaml
76 lines (76 loc) · 1.67 KB
/
hepy.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
custom_phrase:
db_class: stabledb
dictionary: ""
enable_sentence: false
user_dict: custom_phrase
customization: 944064991
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
- "table_translator@custom_phrase"
- table_translator
- reverse_lookup_translator
key_binder:
bindings:
- {accept: comma, send: Page_Up, when: has_menu}
- {accept: period, send: Page_Down, when: has_menu}
- {accept: ";", send: 2, when: has_menu}
- {accept: "'", send: 3, when: has_menu}
- {accept: Tab, send: ";", when: composing}
punctuator:
import_preset: default
recognizer:
import_preset: default
patterns:
reverse_lookup: "`[a-z]*'?$"
reverse_lookup:
dictionary: stroke_simp
enable_completion: true
preedit_format:
- "xlit/hspnz/一丨丿丶乙/"
prefix: "`"
suffix: "'"
tips: "〔笔画〕"
schema:
name: "小鶴音形"
schema_id: hepy
version: 1.custom.944064991
speller:
alphabet: abcdefghjiklmnopqrstuvwxyz
auto_select: true
delimiter: " '"
max_code_length: 4
switches:
- name: ascii_mode
reset: 0
states: ["中文", "西文"]
- name: full_shape
states: ["半角", "全角"]
- name: simplification
states: ["漢字", "汉字"]
translator:
dictionary: hepy
disable_user_dict_for_patterns:
- "^z.*$"
enable_charset_filter: false
enable_completion: true
enable_sentence: false
enable_user_dict: false