ChineseTranslation v0.2.0 API Reference

Modules

this module only utilize zh2Hant to do translation from simplified chinese to traditional chinese, and vise versa

support for iterable functions

Read the word/character -> pinyin file and generate functions for matching

Utility functions to read pinyin_characters.txt / pinyin_words.txt and parse it into a list ordered by the length of the words

Read the pinyin tone file and generate functions to normalize the tone

Generate a set of translation functions

Utility functions to read s2t_conversion.txt file and parse it into a list ordered by the length of the words

utility functions

Mix Tasks

The task for loading latest data from wikipedia