diff --git a/Segment.cpp b/Segment.cpp index 8e6fff9..41710cb 100644 --- a/Segment.cpp +++ b/Segment.cpp @@ -66,7 +66,6 @@ namespace CppJieba string Segment::_utf8ToUni(const string& utfStr) { - char logBuf[bufSize]; string uniStr = utf8ToUnicode(utfStr); if(uniStr.empty()) diff --git a/Trie.cpp b/Trie.cpp index a9027ce..c16651a 100644 --- a/Trie.cpp +++ b/Trie.cpp @@ -368,21 +368,29 @@ namespace CppJieba for(size_t i = 0; i < _nodeInfoVec.size(); i++) { _totalCount += _nodeInfoVec[i].count; - //cout<<_nodeInfoVec[i].word<<_nodeInfoVec[i].count< nodeInfo.weight) { _minWeight = nodeInfo.weight; } } - //cout<<_minWeight<