You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
boolPorter2Stemmer::internal::replaceIfExists(std::string& word, const std::string& suffix, const std::string& replacement, size_t start)
contains size_t idx = word.size() - suffix.size(); but since size_t is an unsigned type, a error occurs when the word is shorter than the suffix. For example:
contains
size_t idx = word.size() - suffix.size();
but sincesize_t
is an unsigned type, a error occurs when the word is shorter than the suffix. For example:The text was updated successfully, but these errors were encountered: