5 Open Chinese Convert (OpenCC, 開放中文轉換) is an opensource project for conversion between Traditional Chinese and Simplified Chinese, supporting character-level conversion, phrase-level conversion, variant conversion and regional idioms among Mainland China, Taiwan and Hong kong.
7 中文簡繁轉換開源項目,支持詞彙級别的轉換、異體字轉換和地區習慣用詞轉換(中國大陸、臺灣、香港)。
11 * 嚴格區分「一簡對多繁」和「一簡對多異」。
13 * 嚴格審校一簡對多繁詞條,原則爲「能分則不合」。
14 * 支持中國大陸、臺灣、香港異體字和地區習慣用詞轉換,如「裏」「裡」、「鼠標」「滑鼠」。
15 * 使用歧義分割+最少分詞算法,儘可能從技術上優化轉換效果。
16 * 詞庫和函數庫完全分離,可以自由修改、導入、擴展。
17 * 支持C、C++、Python、PHP、Java、Ruby、Node.js。
18 * 兼容Windows、Linux、Mac平臺。
19 * 已經用於ibus-pinyin、fcitx的繁體模式輸入。
24 http://code.google.com/p/opencc/
26 ### Introduction (詳細介紹)
27 https://code.google.com/p/opencc/wiki/Introduction
29 ### Development Documentation
30 http://byvoid.github.io/OpenCC/
32 ### Source Code on Github
33 https://github.com/byvoid/opencc
35 ### OpenCC Online (在線轉換)
36 http://opencc.byvoid.com/
39 http://ytenx.org/byohlyuk/KienxPyan
41 ### Projects using Opencc
43 * [ibus-pinyin](http://code.google.com/p/ibus/)
44 * [fcitx](http://code.google.com/p/fcitx/)
45 * [rimeime](http://code.google.com/p/rimeime/)
46 * [libgooglepinyin](http://code.google.com/p/libgooglepinyin/)
47 * [ibus-libpinyin](https://github.com/libpinyin/ibus-libpinyin)
48 * [BYVBlog](https://github.com/byvoid/byvblog)
49 * [豆瓣同城微信](http://weixinqiao.com/douban-event/)
53 ### [Debian](http://packages.qa.debian.org/o/opencc.html)/[Ubuntu](https://launchpad.net/ubuntu/+source/opencc)
55 apt-get install opencc
57 ### [Fedora](https://admin.fedoraproject.org/pkgdb/acls/name/opencc)
61 ### [Arch](https://www.archlinux.org/packages/community/x86_64/opencc/)
65 ### [Mac](https://github.com/mxcl/homebrew/blob/master/Library/Formula/opencc.rb)
69 ### [Node.js](https://npmjs.org/package/opencc)
77 Open Chinese Convert (OpenCC) Command Line Tool
79 Author: BYVoid <byvoid@byvoid.com>
80 Bug Report: http://github.com/BYVoid/OpenCC/issues
86 -i [file], --input=[file] Read original text from [file].
87 -o [file], --output=[file] Write converted text to [file].
88 -c [file], --config=[file] Load configuration of conversion from [file].
89 -v, --version Print version and build information.
90 -h, --help Print this help.
92 With no input file, reads standard input and writes converted stream to standard output.
93 Default configuration(zhs2zht.ini) will be loaded if not set.
99 Make a directory and check in:
106 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -D ENABLE_GETTEXT:BOOL=ON ..
109 On windows, run these commands instead:
111 cmake .. -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX="" -DCMAKE_BUILD_TYPE=Release -DENABLE_GETTEXT:BOOL=OFF
122 gyp --depth . -D library=shared_library -f make --generator-output=build opencc.gyp
127 
129 
131 
135 * [BYVoid](http://www.byvoid.com/)