Skip to content

Instantly share code, notes, and snippets.

@oit63
Forked from lotem/luna_pinyin.custom.yaml
Created August 22, 2018 02:19
Show Gist options
  • Save oit63/20ce663439bdd4030f2ad37ba84353b3 to your computer and use it in GitHub Desktop.
Save oit63/20ce663439bdd4030f2ad37ba84353b3 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
自動註音的詞
又一個詞
再一個詞
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment