#140 · Primary category: NLP Tools & Text Processing

opencc4j

chinese dfa java java7 nlp opencc simple-tranditional trie trie-tree

🇨🇳Open Chinese Convert is an opensource project for conversion between Traditional Chinese and Simplified Chinese.(java 中文繁简体转换,支持台湾、香港、中文日文转换。)

Project last updated:09/05/25

GitHub Stars

577

Forks

81

Contributors

6

License

Apache-2.0

Why we included this project

Java developers who need to convert text between Simplified and Traditional Chinese can add this as a single Maven dependency rather than adopting a full NLP framework. It handles the cases that naive character-by-character mapping gets wrong, like 发/發/髮 and 干/幹/乾, by working at the phrase level. Separate utilities cover Taiwan, Hong Kong, and Japanese shinjitai conventions, so you can target the regional variant that fits your audience. The API also includes helpers to detect whether a string is simplified or traditional and to list the simplified or traditional tokens in a sentence. Because the dictionary is kept separate from the conversion logic, you can swap in your own word lists without touching the code。

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category