@zh-keyboard/pinyin 1.1.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +190 -190
- package/data/rime-api.js +1 -1
- package/data/rime-api.wasm +0 -0
- package/data/source/default.yaml +31 -0
- package/data/source/essay.txt +223396 -0
- package/data/source/luna_pinyin.dict.yaml +26203 -0
- package/data/source/luna_pinyin.schema.yaml +74 -0
- package/data/source/symbols.yaml +7 -0
- package/dist/index.d.mts +27 -29
- package/dist/index.d.ts +27 -29
- package/dist/index.js +176 -3423
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +172 -3418
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -5
- package/data/default.yaml +0 -129
- package/data/luna_pinyin.prism.bin +0 -0
- package/data/luna_pinyin.reverse.bin +0 -0
- package/data/luna_pinyin.schema.yaml +0 -179
- package/data/luna_pinyin.table.bin +0 -0
- package/data/rime-api.data +0 -0
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
__build_info:
|
|
2
|
-
rime_version: 1.16.1
|
|
3
|
-
timestamps:
|
|
4
|
-
default: 1771504467
|
|
5
|
-
default.custom: 0
|
|
6
|
-
luna_pinyin.custom: 0
|
|
7
|
-
luna_pinyin.schema: 1771504467
|
|
8
|
-
engine:
|
|
9
|
-
filters:
|
|
10
|
-
- simplifier@zh_simp
|
|
11
|
-
- uniquifier
|
|
12
|
-
processors:
|
|
13
|
-
- ascii_composer
|
|
14
|
-
- recognizer
|
|
15
|
-
- key_binder
|
|
16
|
-
- speller
|
|
17
|
-
- punctuator
|
|
18
|
-
- selector
|
|
19
|
-
- navigator
|
|
20
|
-
- express_editor
|
|
21
|
-
segmentors:
|
|
22
|
-
- ascii_segmentor
|
|
23
|
-
- matcher
|
|
24
|
-
- abc_segmentor
|
|
25
|
-
- punct_segmentor
|
|
26
|
-
- fallback_segmentor
|
|
27
|
-
translators:
|
|
28
|
-
- punct_translator
|
|
29
|
-
- script_translator
|
|
30
|
-
key_binder:
|
|
31
|
-
bindings:
|
|
32
|
-
- {accept: 'Control+p', send: Up, when: composing}
|
|
33
|
-
- {accept: 'Control+n', send: Down, when: composing}
|
|
34
|
-
- {accept: 'Control+b', send: Left, when: composing}
|
|
35
|
-
- {accept: 'Control+f', send: Right, when: composing}
|
|
36
|
-
- {accept: 'Control+a', send: Home, when: composing}
|
|
37
|
-
- {accept: 'Control+e', send: End, when: composing}
|
|
38
|
-
- {accept: 'Control+d', send: Delete, when: composing}
|
|
39
|
-
- {accept: 'Control+k', send: 'Shift+Delete', when: composing}
|
|
40
|
-
- {accept: 'Control+g', send: Escape, when: composing}
|
|
41
|
-
- {accept: 'Alt+v', send: Page_Up, when: composing}
|
|
42
|
-
- {accept: 'Control+v', send: Page_Down, when: composing}
|
|
43
|
-
- {accept: ISO_Left_Tab, send: 'Shift+Left', when: composing}
|
|
44
|
-
- {accept: 'Shift+Tab', send: 'Shift+Left', when: composing}
|
|
45
|
-
- {accept: Tab, send: 'Shift+Right', when: composing}
|
|
46
|
-
- {accept: minus, send: Page_Up, when: paging}
|
|
47
|
-
- {accept: equal, send: Page_Down, when: has_menu}
|
|
48
|
-
- {accept: comma, send: Page_Up, when: paging}
|
|
49
|
-
- {accept: period, send: Page_Down, when: has_menu}
|
|
50
|
-
- {accept: comma, send: comma, when: predicting}
|
|
51
|
-
- {accept: period, send: period, when: predicting}
|
|
52
|
-
- {accept: 'Control+Shift+1', select: .next, when: always}
|
|
53
|
-
- {accept: 'Control+Shift+2', toggle: ascii_mode, when: always}
|
|
54
|
-
- {accept: 'Control+Shift+3', toggle: full_shape, when: always}
|
|
55
|
-
- {accept: 'Shift+space', toggle: full_shape, when: always}
|
|
56
|
-
- {accept: 'Control+period', toggle: ascii_punct, when: always}
|
|
57
|
-
import_preset: default
|
|
58
|
-
menu:
|
|
59
|
-
page_size: 100
|
|
60
|
-
punctuator:
|
|
61
|
-
full_shape:
|
|
62
|
-
' ': {commit: ' '}
|
|
63
|
-
'!': {commit: !}
|
|
64
|
-
'"': {pair: ['"', '"']}
|
|
65
|
-
'#': [#, ⌘]
|
|
66
|
-
$: [¥, $, €, £, ¥, ¢, ¤]
|
|
67
|
-
'%': [%, °, ℃]
|
|
68
|
-
'&': &
|
|
69
|
-
"'": {pair: ["', '"]}
|
|
70
|
-
(: (
|
|
71
|
-
): )
|
|
72
|
-
'*': [*, ・, ·, ×, ※, ❂]
|
|
73
|
-
'+': +
|
|
74
|
-
',': {commit: ,}
|
|
75
|
-
'-': -
|
|
76
|
-
.: {commit: 。}
|
|
77
|
-
/: [/, ÷]
|
|
78
|
-
':': {commit: :}
|
|
79
|
-
;: {commit: ;}
|
|
80
|
-
<: [《, 〈, «, ‹]
|
|
81
|
-
=: =
|
|
82
|
-
'>': [》, 〉, », ›]
|
|
83
|
-
'?': {commit: ?}
|
|
84
|
-
'@': [@, ☯]
|
|
85
|
-
'[': [「, 【, 〔, []
|
|
86
|
-
'\': [、, \]
|
|
87
|
-
']': [」, 】, 〕, ]]
|
|
88
|
-
^: {commit: ……}
|
|
89
|
-
_: ——
|
|
90
|
-
'`': `
|
|
91
|
-
'{': [『, 〖, {]
|
|
92
|
-
'|': [・, |, §, ¦]
|
|
93
|
-
'}': [』, 〗, }]
|
|
94
|
-
'~': [〜, ~, 〰]
|
|
95
|
-
half_shape:
|
|
96
|
-
'!': {commit: !}
|
|
97
|
-
'"': {pair: ['"', '"']}
|
|
98
|
-
'#': '#'
|
|
99
|
-
$: [¥, $, €, £, ¥, ¢, ¤]
|
|
100
|
-
'%': ['%', %, °, ℃]
|
|
101
|
-
'&': '&'
|
|
102
|
-
"'": {pair: ["', '"]}
|
|
103
|
-
(: (
|
|
104
|
-
): )
|
|
105
|
-
'*': ['*', *, ・, ·, ×, ※, ❂]
|
|
106
|
-
'+': '+'
|
|
107
|
-
',': {commit: ,}
|
|
108
|
-
'-': '-'
|
|
109
|
-
.: {commit: 。}
|
|
110
|
-
/: [、, /, /, ÷]
|
|
111
|
-
':': {commit: :}
|
|
112
|
-
;: {commit: ;}
|
|
113
|
-
<: [《, 〈, «, ‹]
|
|
114
|
-
=: =
|
|
115
|
-
'>': [》, 〉, », ›]
|
|
116
|
-
'?': {commit: ?}
|
|
117
|
-
'@': '@'
|
|
118
|
-
'[': [「, 【, 〔, []
|
|
119
|
-
'\': [、, '\', \]
|
|
120
|
-
']': [」, 】, 〕, ]]
|
|
121
|
-
^: {commit: ……}
|
|
122
|
-
_: ——
|
|
123
|
-
'`': '`'
|
|
124
|
-
'{': [『, 〖, {]
|
|
125
|
-
'|': [・, '|', |, §, ¦]
|
|
126
|
-
'}': [』, 〗, }]
|
|
127
|
-
'~': ['~', 〜, ~, 〰]
|
|
128
|
-
import_preset: default
|
|
129
|
-
recognizer:
|
|
130
|
-
import_preset: default
|
|
131
|
-
patterns:
|
|
132
|
-
email: '^[a-z][-_.0-9a-z]*@.*$'
|
|
133
|
-
uppercase: "[A-Z][-_+.'0-9A-Za-z]*$"
|
|
134
|
-
url: '^(www[.]|https?:|ftp:|mailto:).*$|^[a-z]+[.].+$'
|
|
135
|
-
schema:
|
|
136
|
-
author:
|
|
137
|
-
- 佛振 <chen.sst@gmail.com>
|
|
138
|
-
description: |
|
|
139
|
-
Rime 預設的拼音輸入方案。
|
|
140
|
-
|
|
141
|
-
name: 朙月拼音
|
|
142
|
-
schema_id: luna_pinyin
|
|
143
|
-
version: 0.15.wasm
|
|
144
|
-
speller:
|
|
145
|
-
algebra:
|
|
146
|
-
- erase/^xx$/
|
|
147
|
-
- 'abbrev/^([a-z]).+$/$1/'
|
|
148
|
-
- 'abbrev/^([zcs]h).+$/$1/'
|
|
149
|
-
- 'derive/^([nl])ve$/$1ue/correction'
|
|
150
|
-
- 'derive/^([jqxy])u/$1v/correction'
|
|
151
|
-
- derive/un$/uen/correction
|
|
152
|
-
- derive/ui$/uei/correction
|
|
153
|
-
- derive/iu$/iou/correction
|
|
154
|
-
- 'derive/([aeiou])ng$/$1gn/correction'
|
|
155
|
-
- 'derive/([dtngkhrzcs])o(u|ng)$/$1o/correction'
|
|
156
|
-
- derive/ong$/on/correction
|
|
157
|
-
- derive/ao$/oa/correction
|
|
158
|
-
- 'derive/([iu])a(o|ng?)$/a$1$2/correction'
|
|
159
|
-
alphabet: zyxwvutsrqponmlkjihgfedcba
|
|
160
|
-
delimiter: " '"
|
|
161
|
-
switches:
|
|
162
|
-
- name: ascii_mode
|
|
163
|
-
reset: 0
|
|
164
|
-
states: [中文, ABC]
|
|
165
|
-
- name: full_shape
|
|
166
|
-
states: [半寬文字, 全寬文字]
|
|
167
|
-
- name: ascii_punct
|
|
168
|
-
states: [中文標點, 西文標點]
|
|
169
|
-
- name: zh_simp
|
|
170
|
-
reset: 0
|
|
171
|
-
states: [繁體, 簡體]
|
|
172
|
-
translator:
|
|
173
|
-
dictionary: luna_pinyin
|
|
174
|
-
preedit_format:
|
|
175
|
-
- 'xform/([nljqxy])v/$1ü/'
|
|
176
|
-
zh_simp:
|
|
177
|
-
opencc_config: t2s.json
|
|
178
|
-
option_name: zh_simp
|
|
179
|
-
tips: all
|
|
Binary file
|
package/data/rime-api.data
DELETED
|
Binary file
|