mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-23 00:44:13 +08:00
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
|
||||
break;
|
||||
}
|
||||
tokens.push(current);
|
||||
if (tokens.size() < tokenCount) tokens.push(current);
|
||||
else return false;
|
||||
return tokens.size() <= tokenCount;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user