-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathallbpm.schema.yaml
executable file
·82 lines (74 loc) · 1.96 KB
/
allbpm.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
#錯誤查看%TEMP%\rime.weasel
# Rime schema settings
# encoding: utf-8
# 《完全注音設定頁》
schema:
schema_id: allbpm
name: ❃注音文❃
version: "201908"
author:
- 『洋蔥』
description: |
用戶字典
#switches:
# - name: ascii_mode
# reset: 0
# states: [ 中文, 英文 ]
# - name: full_shape
# states: [ 半形, 全形 ]
engine:
processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
# - express_editor
- fluency_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- punct_translator
- script_translator
menu:
alternative_select_keys: "QAZWSX"
speller:
alphabet: "abcdefghijklmnopqrstuvwxyz1234567890,./;- '"
use_space: true
delimiter: "|"
algebra:
- xform/A/ /
- derive|^([-/0-9a-z,.; ]+)$|$1\'\;|
- derive|^([-/0-9a-z,.; ]+)$|$1\'\;\ |
- derive|^([-/0-9a-z,.; ]+)$|$1\'\;\'|
- derive/ /\|/
- derive/77/\|\|/
translator:
dictionary: allbpm
enable_user_dict: true
enable_sentence: false
enable_completion: false
preedit_format:
- "xlit|1qaz2wsxedcrfv5tgbyhnujm8ik,9ol.0p;/-6347 '|ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄧㄨㄩㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦˊˇˋ˙ˉˉ|"
- 'xform/\|//'
comment_format:
- "xlit|1qaz2wsxedcrfv5tgbyhnujm8ik,9ol.0p;/-6347 '|ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄧㄨㄩㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦˊˇˋ˙ˉˉ|"
- 'xform/\|//'
key_binder:
import_preset: default
bindings:
- {accept: comma, send: comma, when: has_menu}
- {accept: period, send: period, when: has_menu}
- {accept: minus, send: minus, when: has_menu}
- {accept: equal, send: equal, when: has_menu}
- {accept: space, send: Return, when: paging}
punctuator:
import_preset: default
recognizer:
import_preset: default