我是靠谱客的博主 自由咖啡,这篇文章主要介绍使用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/issues/529
纸上得来终觉浅 绝知此事要躬行! —— 陆游
最后
以上就是自由咖啡最近收集整理的关于使用jieba分词出现“Building prefix dict from the default dictionary……”等提示如何去除的全部内容,更多相关使用jieba分词出现“Building内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复