Skip to content

Instantly share code, notes, and snippets.

@lotem
Last active April 16, 2022 08:02
Show Gist options
  • Star 21 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save lotem/5443073 to your computer and use it in GitHub Desktop.
Save lotem/5443073 to your computer and use it in GitHub Desktop.
導入碼表示例
# luna_pinyin.custom.yaml
# 修改字典名爲 luna_pinyin.kunki
# 其對應的用戶詞典名取句點之前部分即 luna_pinyin
patch:
translator/dictionary: luna_pinyin.kunki
# Rime dictionary
# encoding: utf-8
---
name: luna_pinyin.kunki
version: "2013.04.23"
sort: by_weight
use_preset_vocabulary: true
# 從 luna_pinyin.dict.yaml 導入包含單字的碼表
import_tables:
- luna_pinyin
...
# table begins
# 自定義的詞條
瑾昀 jin yun 100
瑾昀 kun ki 100
自動註音的詞
又一個詞
再一個詞
@Hustoking
Copy link

如何在 linux fcitx5 环境下使用 custom_phrase.txt 定义 「用户自定义短语」 呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment