简体中文转换为繁体中文
chinese-converter的Python项目详细描述
中文转换器
在繁体中文和简体中文之间转换。使用花押字和双随机频率选择最佳 一对一转换不可能的单词。
使用字典中的短语来计算花押字和双随机数的频率。
安装
pip install chinese-converter
用法
importchinese_converterchinese_converter.to_traditional("simplified chinese text...")chinese_converter.to_simplified("traditional chinese text...")
测试
python -m unittest
许可证
麻省理工学院
资源
此库的正常使用不需要。