244 字
1 分钟
薄荷输入法配置
2025-12-02

右键输入法,选择“用户文件夹”。

启用微软双拼#

打开 default.yaml,把微软双拼取消注释,其他不用的可以注释掉,提高部署速度。 右键输入法,部署。可通过 Ctrl + ` 切换方案。

更改候选词个数、最大输入长度#

创建 double_pinyin_mspy.custom.yaml,填入以下内容:

patch:
"menu/page_size": 7
codeLengthLimit_processor: 100

候选词水平排列#

打开 weasel.custom.yaml,填入以下内容:

patch:
# stacked | linear | tabled 候选项排列方向(如果希望水平,设置linear)
style/candidate_list_layout: linear
style/horizontal: true

安装万象拼音模型#

在这里下载模型,格式为.gram,移动到用户文件夹,创建 double_pinyin_mspy.custom.yaml,填入以下内容:

patch:
# 语言模型
"grammar/language": wanxiang-lts-zh-hans
"grammar/collocation_max_length": 5
"grammar/collocation_min_length": 2
# translator 内加载
"translator/contextual_suggestions": true
"translator/max_homophones": 7
"translator/max_homographs": 7

关闭一些快捷键#

打开 default.yaml,在 key_binderascii_composer 那里自己注释掉一些。

关闭双拼编码转义#

打开或创建 double_pinyin_mspy.custom.yaml,添加:

patch:
"translator/preedit_format": []

导入词库#

不会!(即答)

薄荷输入法配置
https://xn--24wq0n.top/posts/2025-12-02-薄荷输入法配置/
作者
淼畔
发布于
2025-12-02
许可协议
CC BY-NC-SA 4.0