-
Notifications
You must be signed in to change notification settings - Fork 158
/
double_pinyin_flypy.custom.yaml
92 lines (84 loc) · 2.31 KB
/
double_pinyin_flypy.custom.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
83
84
85
86
87
88
89
90
91
92
patch:
schema/name: 小鹤双拼
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
- name: emoji_suggestion
reset: 1
states: [ "No", "Yes" ]
- name: full_shape
states: [ 半角, 全角 ]
- name: simplification
reset: 1
states: [ 漢字, 汉字 ]
- name: ascii_punct
states: [ 。,, ., ]
engine/translators:
# - lua_translator@date_translator
# - lua_translator@week_translator
- punct_translator
- script_translator
- table_translator@custom_phrase
engine/filters:
- simplifier@emoji_suggestion
- simplifier
- uniquifier
#- charset_filter@gbk
# - single_char_filter
engine/processors:
- ascii_composer
- recognizer
- key_binder
- speller
- punctuator
- selector
- navigator
- express_editor
emoji_suggestion:
opencc_config: emoji.json
option_name: emoji_suggestion
# tips: all
reverse_lookup: {}
#載入朙月拼音擴充詞庫
'translator/dictionary': luna_pinyin.extended
'translator/preedit_format': {}
# 自定义符号上屏
punctuator:
import_preset: symbols
# 自定义快捷符号输入
# symbols:
# "/fs": [½, ‰, ¼, ⅓, ⅔, ¾, ⅒ ]
half_shape:
"#": "#"
"*": "*"
"`": "`"
"~": "~"
"@": "@"
"=": "="
"/": ["/", "÷",]
'\': "、"
# "_" : "──"
"'": {pair: ["「", "」"]}
"[": ["【", "["]
"]": ["】", "]"]
"$": ["¥", "$", "€", "£", "¢", "¤"]
"<": ["《", "〈", "«", "<"]
">": ["》", "〉", "»", ">"]
recognizer/patterns/punct: "^/([0-9]0?|[A-Za-z]+)$"
### 双拼使用自定义词典 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
# Rx: BlindingDark/rime-easy-en:customize:schema=double_pinyin_flypy
# __include: easy_en:/patch
# easy_en/enable_sentence: false
# Rx: lotem/rime-octagram-data:customize:schema=luna_pinyin,model=hans
__include: grammar:/hant
# Rx: BlindingDark/rime-lua-select-character:customize:schema=luna_pinyin
# __include: lua_select_character:/patch # 需要lua_selector打开本行注释