摘要: python 实现多语种检测 首先安装如下包: pip install langdetect 然后新建一个 python 文件,重命名为 detect.py,粘贴进如下案例代码: from langdetect import * DetectorFactory.seed = 0 txt = "你好,世界!" # 要检测的文本 p 阅读全文
posted @ 2023-03-11 14:15 天才俱乐部 阅读(130) 评论(0) 推荐(0)