porter2_stemmer icon indicating copy to clipboard operation
porter2_stemmer copied to clipboard

C++ version of the Porter2 English stemmer

Results 3 porter2_stemmer issues
Sort by recently updated
recently updated
newest added

The directory utils in the #include statement for string_view is unnecessary; both files are in same directory -- in the given form I was not able to compile. Small fix...

Looks like it, but is this thread safe ? Thanks G

``` c++ bool Porter2Stemmer::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...