-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathflypyplus.schema.yaml
More file actions
executable file
·173 lines (156 loc) · 3.8 KB
/
flypyplus.schema.yaml
File metadata and controls
executable file
·173 lines (156 loc) · 3.8 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# Rime schema settings
# encoding: utf-8
schema:
schema_id: flypyplus
name: 小鹤音形+
version: "8.0"
author:
- 方案设计:何海峰 <flypy@qq.com>
description: |
全码表
punctuator:
full_shape:
' ' : { commit: ' ' }
',' : { commit: , }
'.' : { commit: 。 }
'<' : [ 《, 〈, «, ‹ ]
'>' : [ 》, 〉, », › ]
'/' : [ /, ÷ ]
'?' : { commit: ? }
';' : { commit: ; }
':' : { commit: : }
'''' : { pair: [ '‘', '’' ] }
'"' : { pair: [ '“', '”' ] }
'\' : [ 、, \ ]
'|' : [ ·, |, '§', '¦' ]
'`' : `
'~' : ~
'!' : { commit: ! }
'@' : [ @, ☯ ]
'#' : [ #, ⌘ ]
'%' : [ %, '°', '℃' ]
'$' : [ ¥, '$', '€', '£', '¥', '¢', '¤' ]
'^' : { commit: …… }
'&' : &
'*' : [ *, ·, ・, ×, ※, ❂ ]
'(' : (
')' : )
'-' : -
'_' : ——
'+' : +
'=' : =
'[' : [ 「, 【, 〔, [ ]
']' : [ 」, 】, 〕, ] ]
'{' : [ 『, 〖, { ]
'}' : [ 』, 〗, } ]
half_shape:
',' : { commit: , }
'.' : { commit: 。 }
'<' : [ 《, 〈, «, ‹ ]
'>' : [ 》, 〉, », › ]
'/' : { commit: 、 }
'?' : { commit: ? }
';' : { commit: ; }
':' : { commit: : }
'''' : { pair: [ '‘', '’' ] }
'"' : { pair: [ '“', '”' ] }
'\' : [ 、, '\', \ ]
'|' : [ ·, '|', |, '§', '¦' ]
'`' : '`'
'~' : [ '~', ~ ]
'!' : { commit: ! }
'@' : '@'
'#' : '#'
'%' : [ '%', %, '°', '℃' ]
'$' : [ ¥, '$', '€', '£', '¥', '¢', '¤' ]
'^' : { commit: …… }
'&' : '&'
'*' : [ '*', *, ·, ・, ×, ※, ❂ ]
'(' : (
')' : )
'-' : '-'
'_' : ——
'+' : '+'
'=' : '='
'[' : [ 「, 【, 〔, [ ]
']' : [ 」, 】, 〕, ] ]
'{' : [ 『, 〖, { ]
'}' : [ 』, 〗, } ]
switches:
- name: ascii_mode
states: [ CN, EN ]
reset: 0
engine:
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
filters:
- simplifier
- simplifier@zh_simp
- uniquifier
speller:
alphabet: 'zyxwvutsrqponmlkjihgfedcba'
initials: 'abcdefghijklmnopqrstuvwxyz'
delimiter: " '"
max_code_length: 4
auto_select: true
auto_select_pattern: ^;.$|^\w{4}$
auto_clear: max_length #manual|auto|max_length 空码按下一键确认清屏|空码自动清|达到最长码时后码顶上清屏
translator:
dictionary: flypyplus
enable_charset_filter: false
disable_user_dict_for_patterns:
- "^z.*$"
enable_completion: false
enable_sentence: false
enable_user_dict: false
zh_simp:
opencc_config: s2tw.json
option_name: zh_simp
custom_phrase:
dictionary: ""
user_dict: flypy_user
db_class: stabledb
enable_sentence: false
enable_completion: false
reverse_lookup:
dictionary: flypydz
comment_format:
- xform/^/〔/
- xform/$/〕/
- xform/ /, /
key_binder:
import_preset: default
bindings:
- {accept: bracketleft, send: Page_Up, when: has_menu} # [上翻页
- {accept: bracketright, send: Page_Down, when: has_menu} # ]下翻页
- { when: has_menu, accept: ";", send: 2 }
- { when: has_menu, accept: "'", send: 3 }
- { when: composing, accept: "Tab", send: ; }
recognizer:
import_preset: default
patterns:
uppercase: "[A-Z][-_+.'0-9A-Za-z]*$"
reverse_lookup: "[a-z`]*`+[a-z`]*"
punct: ""
menu:
page_size: 5 #候选项数
style:
horizontal: true #竖排为false