-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.yaml
52 lines (44 loc) · 1.73 KB
/
common.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
# 自定义的path
customPatch:
engine/filters:
- simplifier
- simplifier@emoji_suggestion
- charset_filter@gbk
- single_char_filter
# - lua_filter@en_spacer
# - lua_filter@cn_en_spacer
# - lua_filter@insert_space_between_words
- uniquifier
# 自定义符号上屏
punctuator:
import_preset: symbols
symbols:
'/dq': [🌍, 🌎, 🌏, 🌐, 🌑, 🌒, 🌓, 🌔, 🌕, 🌖, 🌗, 🌘]
'/sg': [🍇, 🍉, 🍌, 🍍, 🍎, 🍏, 🍑, 🍒, 🍓, 🍗, 🍦, 🎂, 🍺, 🍻]
'/dw': [🙈, 🐵, 🐈, 🐷, 🐨, 🐼, 🐾, 🐔, 🐬, 🐠, 🦋]
'/bq': [😀, 😁, 😂, 😃, 😄, 😅, 😆, 😉, 😊, 😋, 😎, 😍, 😘, 😗]
'/ss': [💪, 👈, 👉, 👆, 👇, ✋, 👌, 👍, 👎, ✊, 👊, 👋, 👏, 👐]
speller/algebra/@before 0: xform/^([b-df-hj-np-tv-z])$/$1_/
recognizer/patterns/punct: '^/([a-z]+|[0-9]0?)$'
# 扩展词库
translator/dictionary: luna_pinyin.extended
translator/preedit_format: {}
translator/enable_correction: false # 关闭后为精准输出
# 解决rime-easy-en无用的太极符号
translator/enable_sentence: false
easy_en/enable_sentence: false
# 自定义词典 custom_phrase.txt
custom_phrase:
dictionary: ''
user_dict: custom_phrase
db_class: stabledb
enable_completion: false
enable_sentence: false
initial_quality: 1
engine/translators/@5: table_translator@custom_phrase
# 输入动态时间和日期
engine/translators/@6: lua_translator@date_translator
# 引用的扩展
# __include: emoji_suggestion:/patch # emoji表情符号
__include: easy_en:/patch # 中英混输
# __include: lua_select_character:/patch # 以词定字 BlindingDark/rime-lua-select-character