修复中文分词接口编译问题;

This commit is contained in:
jixiaoxu 2023-03-20 15:34:05 +08:00
parent 0725b5b097
commit 2760b30a2a
1 changed files with 1 additions and 1 deletions

View File

@ -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();