Skip to content

Instantly share code, notes, and snippets.

@lotem
Created August 4, 2014 03:10
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lotem/70ab39968b7a672d8a9d to your computer and use it in GitHub Desktop.
Save lotem/70ab39968b7a672d8a9d to your computer and use it in GitHub Desktop.
# Use a custom dictionary.
patch:
translator/dictionary: terra_pinyin.mine
# Rime dictionary
# encoding: utf-8
---
name: terra_pinyin.mine
version: "2014.08.04"
sort: by_weight
# 導入預設詞彙
use_preset_vocabulary: true
# 從 terra_pinyin.dict.yaml 導入包含單字註音的碼表
import_tables:
- terra_pinyin
...
# 自定義的字詞
什 shen3
什麼 shen3 me5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment