Skip to content

Instantly share code, notes, and snippets.

@lotem
Created June 16, 2014 05:08

Revisions

  1. lotem created this gist Jun 16, 2014.
    24 changes: 24 additions & 0 deletions jyutping.custom.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    # encoding: utf-8
    # vim: set sw=2 sts=2 et:
    #
    # 在粵拼中啓用臺灣正體字形
    # 修改 reset: 爲 0~2 的值以指定默認字形

    patch:
    engine/filters:
    - simplifier@zh_simp
    - simplifier@zh_tw
    - uniquifier
    switches/@2:
    options: [ zh_trad, zh_simp, zh_tw ]
    states:
    - 傳統漢字
    - 簡化字
    - 臺灣正體
    reset: 2
    zh_simp:
    option_name: zh_simp
    tips: all
    zh_tw:
    option_name: zh_tw
    opencc_config: zht2zhtw_v.ini