Stemmers remove morphological affixes from words, leaving only the word stem.
|
|
Create a new Porter stemmer.
|
Test the cons() (consonant) method.
|
|
|
|
|
|
|
|
Test the m() (number of vowel/consonant sequences from the start of a word to some offset) method.
|
|
Test the vowelinstem() method (checks for a vowel within the first j chars).
|
|
|
Test the doublec() (identical double consonant) method.
|
|
|
|
Test the cvc() method.
|
|
|
|
|
|
|
|
Test the ends() (end substring matching) method.
|
|
|
Test the setto() method (replaces the suffix of the buffered string).
|
Test the stemmer on various pluralised words.
|
|
|
|
|
|
|
|
|