API Reference Han v0.3.4

Modules

Han

Utils for processing chinese.

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

Fetch the latest database for Han.