9e9f172f81
previous impl always did full utf8 decode of rune if we assume most tokens are not possessive this is unnecessary and even if they are, we only need to chop off last to runes so, now we only decode last rune of token, and if it looks like s/S then we proceed to decode second to last rune, and then only if it looks like any form of apostrophe, do we make any changes to token, again by just reslicing original to chop off the possessive extension |
||
---|---|---|
.. | ||
analyzer_en_test.go | ||
analyzer_en.go | ||
possessive_filter_en_test.go | ||
possessive_filter_en.go | ||
stop_filter_en.go | ||
stop_words_en.go |