-
Notifications
You must be signed in to change notification settings - Fork 0
/
wubi06.schema.yaml
executable file
·104 lines (99 loc) · 2.4 KB
/
wubi06.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
customization: 173635732
engine:
processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- table_translator
- punct_translator
- reverse_lookup_translator
key_binder:
bindings:
- {accept: Return, send: Escape, when: composing}
- {accept: semicolon, send: 2, when: has_menu}
- {accept: apostrophe, send: 3, when: has_menu}
import_preset: default
preset_color_schemes:
apathy:
author: "LIANG Hai"
back_color: 0xFFFFFF
border_height: 0
border_width: 0
candidate_format: "%c %@ "
comment_text_color: 0x999999
corner_radius: 5
font_face: "PingFangSC-Regular,H-SiuNiu,HanaMinA"
font_point: 16
hilited_candidate_back_color: 0xFFF0E4
hilited_candidate_text_color: 0xEE6E00
horizontal: true
inline_preedit: true
label_font_face: "PingFangSC-Light"
label_font_point: 11
name: "冷漠 / Apathy"
text_color: 0x424242
punctuator:
import_preset: symbols
recognizer:
import_preset: default
patterns:
punct: "^/([a-z]+|[0-9])$"
reverse_lookup: "^z[a-z]*$"
reverse_lookup:
dictionary: pinyin_simp
preedit_format:
- "xform/([nl])v/$1ü/"
- "xform/([jqxy])v/$1u/"
prefix: '`'
tips: "[拼音]"
schema:
author:
- "发明人 王永民先生"
description: |
五笔字型新世纪五笔
碼表源自 qq
敲 z 键进入拼音反查
name: "新世纪五笔"
schema_id: wubi06
version: 0.1.custom.173635732
show_notifications_via_notification_center: false
speller:
delimiter: " ;'"
max_code_length: 4 # 最长 4 码
auto_select: true # 顶字上屏
auto_select_unique_candidate: true # 无重码自动上屏
style:
color_scheme: apathy
switches:
- name: ascii_mode
reset: 0
states: ["中文", "英文"]
- name: full_shape
states: ["半角", "全角"]
- name: extended_charset
states: ["通用", "增广"]
translator:
dictionary: wubi06
disable_user_dict_for_patterns:
- "^z.*$"
- "^[a-y]{1,3}$"
enable_charset_filter: true
enable_completion: true
enable_encoder: true
enable_sentence: false
enable_user_dict: true
encode_commit_history: true
max_phrase_length: 4
us_keyboard_layout: true