/
luna_pinyin.custom.yaml
53 lines (44 loc) · 1.25 KB
/
luna_pinyin.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
# luna_pinyin.custom.yaml
# author: Tianshu Wang <wang@tianshu.me>
patch:
schema/dependencies/@next: english
switches/@2:
name: traditionalization
states: [ 汉字, 漢字 ]
engine/translators/+:
- "table_translator@english"
- "lua_translator@date_translator"
speller/alphabet: zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
translator/dictionary: pinyin_simp # 載入拼音簡化詞庫
punctuator:
import_preset: symbols
half_shape:
"#" : "#"
"*" : "*"
"=" : "="
"[" : "「"
"]" : "」"
"{" : "『"
"}" : "』"
english:
dictionary: english_chinese
enable_sentence: false
enable_user_dict: false
initial_quality: 0.5
simplifier:
option_name: traditionalization
opencc_config: s2t.json # s2t.json | s2hk.json | s2tw.json | s2twp.json
excluded_types: [ reverse_lookup ]
__patch:
# Rx: emoji:customize:schema=luna_pinyin {
- patch/+:
__include: emoji_suggestion:/patch
# }
# Rx: lotem/rime-octagram-data:customize:schema=luna_pinyin,model=hans {
- patch/+:
__include: grammar:/hans
# }
# # Rx: BlindingDark/rime-lua-select-character:customize:schema=luna_pinyin {
# - patch/+:
# __include: patch/lua_select_character:/patch
# # }