Skip to content

An Android library project for conversion between Traditional and Simplified Chinese

License

Notifications You must be signed in to change notification settings

qichuan/android-opencc

Repository files navigation

Introduction

An Android port to OPENCC, a library to convert Simplified Chinese to Traditional Chinese and vice versa. In additional, it also adopts the regional vocabulary and terminology interchangeably during conversion among Mainland China Simplified Chinese, Taiwan Traditional Chinese and Hong Kong Traditional Chinese.

Note

This project uses git submodules to download the source code from OpenCC, please use --recursive flag when cloning this project

 git clone git@github.com:qichuan/android-opencc.git --recursive

Example

滑鼠裡面的矽二極體壞了,導致游標解析度降低。

in Traditional Taiwan Chinese will be converted to

鼠标里面的硅二极管坏了,导致光标分辨率降低。

in Simplified Chinese and using Mainland China terminology

Installation

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
	...
	    maven { url 'https://jitpack.io' }
	}
}