Package smile.nlp.stemmer
Interface Stemmer
- All Known Implementing Classes:
LancasterStemmer
,PorterStemmer
public interface Stemmer
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
-
Method Details
-
stem
Transforms a word into its root form.- Parameters:
word
- the word.- Returns:
- the stem.
-