Interface Stemmer

All Superinterfaces:
Function<String,String>
All Known Implementing Classes:
LancasterStemmer, PorterStemmer

public interface Stemmer extends Function<String,String>
A Stemmer transforms a word into its root form. The stemming is a process for removing the commoner morphological and inflexional endings from words (in English). Its main use is as part of a term normalisation process.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    apply(String word)
     
    stem(String word)
    Transforms a word into its root form.

    Methods inherited from interface java.util.function.Function

    andThen, compose