-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbetter_english.schema.yaml
81 lines (72 loc) · 1.75 KB
/
better_english.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
# 更好西文: 用於作爲默認的西文輸入法, 前期沒有任何設置
# 暫時啥都不要有, 就是拿來充當默認英文輸入法的, 鍵入按鍵碼就可以了
schema:
schema_id: better_english
name: 更好better西文
author: Godalin
version: "0.0.0"
dependencies:
- latex
- agda_input
description: |
更好的西文輸入法:
好在哪裏呢? 我也不知道
- 它可以作爲默認的西文輸入
- 它可以輸入 LaTeX, 所以依賴於 rime_latex
- 它还可以输入 Agda Input, 太强啦
engine:
processors:
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- punct_segmentor
- fallback_segmentor
translators:
- table_translator@latex
- table_translator@agda_input
- script_translator
filters:
- uniquifier
punctuator:
import_preset: default
key_binder:
import_preset: default
recognizer:
patterns:
# 將下面的模式都映射到 symbol tag, 並且啓用下面的兩張表去查對應的符號
symbol: "^\\\\(\\D|(\\\\\\d))+$"
speller:
alphabet: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/\\^_-><+-*=()[]{}<>!?@#$&%\"',.:;|`~"
initials: '\'
auto_select: true
algebra:
- derive/(\d)/\\$1
# the symbols
latex:
tag: symbol
dictionary: latex
prefix: '\'
enable_sentence: false
enable_completion: true
enable_user_dict: true
user_dict: custom_latex_user
db_class: tabledb
tips: "[LaTeX]"
agda_input:
tag: symbol
dictionary: agda_input
prefix: '\'
enable_sentence: false
enable_completion: true
enable_user_dict: true
user_dict: custom_agda_user
db_class: tabledb
tips: "[Agda]"