forked from Public-Mirror/Textractor
fix rateLimitTimespan issue #665
This commit is contained in:
parent
953a537cb8
commit
663bb97fff
@ -166,7 +166,8 @@ bool ProcessSentence(std::wstring& sentence, SentenceInfo sentenceInfo)
|
|||||||
tokens.push(token); // popped one too many
|
tokens.push(token); // popped one too many
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
tokens.push(current);
|
if (tokens.size() < tokenCount) tokens.push(current);
|
||||||
|
else return false;
|
||||||
return tokens.size() <= tokenCount;
|
return tokens.size() <= tokenCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user