问题

每一次我用jieba进行分词的时候,都会有

Building prefix dict from the default dictionary ...
Loading model from cache /tmp/jieba.cache
Loading model cost 0.128 seconds.
Prefix dict has been built succesfully.

这样的提示。怎么去除这些提示呢?

import logging
jieba.setLogLevel(logging.INFO)

jieba.setLogLevel(20)

参考:

https://github.com/fxsjy/jieba/issues/529

相关文章:

  • 2021-07-31
  • 2021-07-21
  • 2021-06-23
  • 2022-02-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-06
  • 2022-02-28
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案