Skip to content

Instantly share code, notes, and snippets.

@viogus
Forked from gkzhong/README
Created March 18, 2013 02:19
Show Gist options
  • Save viogus/5184550 to your computer and use it in GitHub Desktop.
Save viogus/5184550 to your computer and use it in GitHub Desktop.
一,安裝簡體->繁體映射碼表:(該項目由opencc維護:http://code.google.com/p/opencc)
文件1:http://code.google.com/p/rimeime/source/browse/trunk/misc/opencc/data/simp_to_trad_characters.ocd
文件2:http://code.google.com/p/rimeime/source/browse/trunk/misc/opencc/data/simp_to_trad_phrases.ocd
安裝位置:共享資料目錄
如:/Library/Input Methods/Squirrel.app/Contents/SharedSupport/opencc
二,添加opencc簡繁配置文件:
詳見:zhs2zht.ini
安裝位置:共享資料目錄
如:/Library/Input Methods/Squirrel.app/Contents/SharedSupport/opencc
三,自定義五筆拼音輸入法配置(同時可用於86版,本文僅提供五筆拼音配置文件)
詳見:wubi_pinyin.custom.yaml
安裝位置:用戶資料目錄
如:~/Library/Rime
patch:
switches:
- name: ascii_mode
reset: 0
states: [ 中文, 西文 ]
- name: full_shape
states: [ 半角, 全角 ]
- name: simplification
states: [ 漢字, 汉字 ]
simplifier/opencc_config: zhs2zht.ini
engine/filters:
- simplifier
- uniquifier
; Open Chinese Convert
;
; Copyright 2010 BYVoid <[email protected]>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
title = simp_to_trad
description = Standard Configuration for Conversion from Simplified Chinese to Traditional Chinese
dict0 = OCD opencc/simp_to_trad_phrases.ocd
dict0 = OCD opencc/simp_to_trad_characters.ocd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment