forked from SaboZhang/RimeConfig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpinyin_simp.custom.yaml
83 lines (79 loc) · 2.06 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Rime
# encoding: utf-8
#
# 袖珍简化字拼音自定义配置
#
# Neko7ina <[email protected]>
# tumuyan,in 2020.08.20
#
# 部署位置:
# ~/.config/ibus/rime (Linux)
# ~/Library/Rime (Mac OS)
# %APPDATA%\Rime (Windows)
#
# 编辑完后重新部署才会生效
patch:
# 導入英文輸入方案easy_en
# 如果直接改寫方案,在文件頂端寫__patch:easy_en:/patch?
# __include: easy_en:/patch?
# 直接复制了easy_en.yaml的内容
"schema/dependencies/@next": melt_eng
"engine/translators/@before 0": table_translator@melt_eng
melt_eng:
dictionary: melt_eng
spelling_hints: 9
enable_completion: true
enable_sentence: false
initial_quality: -1
# 關閉外語自造詞,節約候選詞列表
easy_en/enable_sentence: false
# 令輸入方案對大寫字符生效
"speller/alphabet": zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA-_
recognizer/patterns/uppercase: ''
# 顯示9個候選詞
"menu/page_size": 9
"schema/name": 融合拼音
# 语言模型数据包
# __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": {}