NCStemmer

trait NCStemmer

Trait defining a general stemmer. Stemming is the process of reducing inflected (or sometimes derived) words to their word stem, base or root form—generally a written word form. Note that stemmer is used by several built-in pipeline components.

Read more about stemming at https://en.wikipedia.org/wiki/Stemming.

Source:
NCStemmer.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

def stem(word: String): String

Gets a stem for a given text. Note that unlike lemma the stemmatization process does not require a context for the given word, i.e. the stemmatization can be performed on individual word.

Gets a stem for a given text. Note that unlike lemma the stemmatization process does not require a context for the given word, i.e. the stemmatization can be performed on individual word.

Value parameters:
word

Text to stemmatize.

Source:
NCStemmer.scala