Porter2StemmerExtensions extension

Implementation extensions on String for Porter2StemmerMixin.

on

Properties

endsWithDouble bool
Returns true if the String ends with any of Porter2StemmerConstants.rDoubles.
no setter
endsWithShortSyllable bool
Returns true if the String's last syllable:
no setter
isIdentifier bool
Returns true if:
no setter
isShortWord bool
Returns true if r1 is null and endsWithShortSyllable is true.
no setter
r1 String?
The region after the first non-vowel following a vowel, or the end of the word if there is no such non-vowel.
no setter
r2 String?
The region after the first non-vowel following a vowel in r1, or the end of the word if there is no such non-vowel.
no setter