Porter2StemmerExtensions extension

Implementation extensions on String for Porter2StemmerMixin.

on

Properties

endsWithDouble bool

Available on String, provided by the Porter2StemmerExtensions extension

Returns true if the String ends with any of Porter2StemmerConstants.rDoubles.
no setter
endsWithShortSyllable bool

Available on String, provided by the Porter2StemmerExtensions extension

Returns true if the String's last syllable:
no setter
isIdentifier bool

Available on String, provided by the Porter2StemmerExtensions extension

Returns true if:
no setter
isShortWord bool

Available on String, provided by the Porter2StemmerExtensions extension

Returns true if r1 is null and endsWithShortSyllable is true.
no setter
r1 String?

Available on String, provided by the Porter2StemmerExtensions extension

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?

Available on String, provided by the Porter2StemmerExtensions extension

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