Converts between Traditional and Simplified Chinese. Uses monogram and bigram frequencies to pick optimal words when a 1-to-1 conversion is not possible.
Uses phrases in the dictionary to count monogram and bigram frequencies.
pip install chinese-converterimport chinese_converter
chinese_converter.to_traditional("simplified chinese text...")
chinese_converter.to_simplified("traditional chinese text...")python -m unittestMIT
Not necessary for the normal usage of this library.