stem method

String stem(
  1. String word
)

Returns the stem of word.

The result is a normalised base form suitable for index lookups; it is not guaranteed to be a valid dictionary word.

Implementation

String stem(String word) {
  return _stemmer.stem(word);
}