Comments (4)
@shuge , 什么样的控制?是控制让这些日志不显示,还是说输出到其他地方?
from jieba.
def foo(..., debug=False, log_file=sys.stderr):
if debug:
print >> log_file, f_name, ' at line', lineno, line
...
您觉得这样会不会更好些?
from jieba.
@shuge , 好的,谢谢你的建议。你要是能给我发pull request就更好了:-)
from jieba.
稍后吧,我上周临时用 pymmseg + AdvancdLangConv 解决了
jieba 是一个很有意思的项目
from jieba.
Related Issues (20)
- jieba.dt jieba.posseg.dt 分词结果不一样,请问是什么原因呢
- pyspark+hadoop集群下,加载自定义的字典文件总是报:无法找到自定义字典所在的路径 HOT 3
- How does jieba compare with stanford segmenter (stanford corenlp)
- Tokenizer.gen_pfdict method does not guard against duplicate entries.
- 请问bigram可以通过jieba得到吗
- AttributeError: module 'jieba' has no attribute 'lcut' HOT 3
- Any way to override the native Jieba dictionary? HOT 1
- 社区还会维护么 HOT 8
- 所有的词性标签是哪些,有些标签不知道什么意思,也不再README里面 HOT 2
- Hi HOT 1
- 不维护了吗
- 可以同时用paddle和自定义词典load_userdict()么? HOT 1
- 分词结果中出现了自定义词典之外的词 HOT 2
- A Python issue
- '是因为' doesn't cut as expected HOT 2
- debug状态下,jieba.enable_paddle()需要装opencv
- 词性划分明显错误 HOT 1
- How to change the decoder HOT 3
- in 1 py, every time when Jieba was called, it needs "building..., loading, loading". Why it needs building every time? HOT 1
- 大家散了吧!LLM的分词效果更好 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jieba.