-
Notifications
You must be signed in to change notification settings - Fork 2
/
pinyin_simp.custom.yaml
59 lines (58 loc) · 1.29 KB
/
pinyin_simp.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
# Rime
# encoding: utf-8
#
# 袖珍简化字拼音自定义配置
#
# Neko7ina <[email protected]>
#
# 部署位置:
# ~/.config/ibus/rime (Linux)
# ~/Library/Rime (Mac OS)
# %APPDATA%\Rime (Windows)
#
# 编辑完后重新部署才会生效
patch:
# 语言模型数据包
# __include: grammar:/hans
# 修改切换时提示
"schema/name": "简体中文"
# 设置主词典
"translator/dictionary": pinyin_simp.main
# 候选去重
engine/filters:
- uniquifier
# 默认输入状态为中文
"switches/@0/reset": 0
# 开启拼音纠错
translator/enable_correction: false
# 自定义标点
# 固定候选单字,在用户目录下创建 pinyin_simp_pin.txt 文件并编辑
"engine/translators/@next": table_translator@pinyin_simp_pin
pinyin_simp_pin:
dictionary: ""
user_dict: pinyin_simp_pin
db_class: stabledb
enable_completion: false
enable_sentence: false
initial_quality: 1
punctuator:
import_preset: default
half_shape:
'`': '`'
'@': '@'
'#': '#'
'%': '%'
'=': '='
'/': '/'
'\': '、'
'~': '~'
full_shape:
'`': '`'
'@': '@'
'#': '#'
'%': '%'
'=': '='
'/': '/'
'\': '、'
# 释放「`」键(同时关闭反查)
"recognizer/patterns/reverse_lookup": {}