自由咖啡

文章
5
资源
0
加入时间
3年1月7天

使用jieba分词出现“Building prefix dict from the default dictionary……”等提示如何去除

使用jieba分词出现“Building prefix dict from the default dictionary……”等提示如何去除具体错误提示如下:解决办法:找到jieba库的__init__.py,打开,将第29行default_logger.setLevel(logging.DEBUG)改为default_logger.setLevel(logging.INFO)重新运行代码,不再报错。参考:1.https://github.com/fxsjy/jieba/issue