修复中文分词接口编译问题;
This commit is contained in:
parent
0725b5b097
commit
2760b30a2a
|
@ -42,7 +42,7 @@ bool fileContentIndexer::index()
|
||||||
|
|
||||||
m_document.setData(content);
|
m_document.setData(content);
|
||||||
|
|
||||||
std::vector<KeyWord> term = ChineseSegmentation::getInstance()->callSegment(content.left(20480000));
|
std::vector<KeyWord> term = ChineseSegmentation::getInstance()->callSegment(content);
|
||||||
content.clear();
|
content.clear();
|
||||||
content.squeeze();
|
content.squeeze();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue