OpenCC is a tool (both online and offline) for conversion Traditional and
Simplified Chinese. In this post, we will write a Python program to use OpenCC
to convert Simplified Chinese to Traditional Chinese.
I found a lot of OpenCC bindings for Python ([3], [5], [6]) We will use
pyOpenCC in [3] to convert Chinese. If you use Ubuntu Linux 15.10, you can
install pyOpenCC by:
# Install necessary header files for compilation
$sudoapt-getinstallpython-devlibopencc-dev
# Install pip. Ignore this step if you already installed pip
$sudoapt-getinstallpython-pip
# Install pyOpenCC
$sudopipinstallpyopencc