繁体简体转换的python包pylangtools_converter('zh-hans')需要的包-CSDN博客

网站介绍:文章浏览阅读725次。安装pip install pylangtools使用(1)繁体转简体from pylangtools.langconv import Converterif __name__=="__main__": traditional_sentence = '陳奕迅' simplified_sentence = Converter('zh-hans').convert(traditional_sentence) print(simplified_sentence)#陈奕迅(_converter('zh-hans')需要的包