日期:2014-05-20  浏览次数:20787 次

MMSeg4j中文分词问题
我最近在用MMSeg4j但是每次从index里读取都会往控制台输出一大堆信息,怎么让他不输出来啊?

信息入下,还是红色的:
2012-7-18 17:21:11 com.chenlb.mmseg4j.Dictionary loadDic
信息: chars loaded time=182ms, line=12638, on file=file:\F:\javaWorkspace\LuceneProject\lib\mmseg4j-all-1.8.5-with-dic.jar!\data\chars.dic
2012-7-18 17:21:12 com.chenlb.mmseg4j.Dictionary loadWord
信息: words loaded time=1294ms, line=149853, on file=file:\F:\javaWorkspace\LuceneProject\lib\mmseg4j-all-1.8.5-with-dic.jar!\data\words.dic
2012-7-18 17:21:12 com.chenlb.mmseg4j.Dictionary loadWord
信息: words loaded time=0ms, line=2, on file=lib\data\words-my.dic
2012-7-18 17:21:12 com.chenlb.mmseg4j.Dictionary loadDic
信息: load all dic use time=1514ms
2012-7-18 17:21:12 com.chenlb.mmseg4j.Dictionary loadUnit
信息: unit loaded time=1ms, line=22, on file=file:\F:\javaWorkspace\LuceneProject\lib\mmseg4j-all-1.8.5-with-dic.jar!\data\units.dic


------解决方案--------------------
不知道怎么去,MMSeg4j没用其他现成的log组件。你也可以看看paoding的使用