安装雾凇拼音词库

雾凇拼音提供了一套开箱即用的完整配置,包含输入方案(全拼、常见双拼)、长期维护的开源词库及各项扩展功能。

这里介绍如何将雾凇拼音中的词库集成到自己的RIME输入方法中。

首先,把rime-ice仓库中cn_dictsen_dicts目录拷贝到RIME部署的目录(如果使用的是emacs-rime,对应的就是rime-user-data-dir)。

其次,创建rime_ice.dict.yaml文件,添加以下内容:

# Rime dictionary
# encoding: utf-8

---
name: rime_ice
version: "2026-01-20"
import_tables:
  - cn_dicts/8105     # 字表
  # - cn_dicts/41448  # 大字表(按需启用)(启用时和 8105 同时启用并放在 8105 下面)
  - cn_dicts/base     # 基础词库
  - cn_dicts/ext      # 扩展词库
  - cn_dicts/tencent  # 腾讯词向量(大词库,部署时间较长)
  - cn_dicts/others   # 一些杂项
  - en_dicts/en_ext   # 补充(里面有些许带权重的,且和 en 重复,需要把 en_ext 放在上面)
  - en_dicts/en       # 英文主词库
...

最后,在输入方案中导入词库,比如在double_pinyin.custom.yaml中添加词库translator/dictionary: rime_ice,重新部署后就可以使用雾凇拼音的词库了。

Related

在WSL中使用emacs-rime

在WSL中使用Emacs时,无法直接使用Windows安装的RIME输入法,当前比较好的方案是在WSL中安装librime,在Emacs中使用emacs-rime作为前端,使用体验比较贴近原生RIME输入法。

My Custom Org Agenda

By setting the org-agenda-custom-commands variable, we can define our own agenda views that only include necessary information.

Eglot: Connect to Multiple LSP Servers

Use rassumfrassum to connect a LSP client to multiple LSP servers.