Package com.yahoo.language.process
Interface Stemmer
-
- All Known Implementing Classes:
StemmerImpl
public interface Stemmer
Interface providing stemming of single words.
- Author:
- Mathias Mølster Lidal
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<StemList>
stem(java.lang.String input, StemMode mode, Language language)
Stem input according to specified stemming mode.
-
-
-
Method Detail
-
stem
java.util.List<StemList> stem(java.lang.String input, StemMode mode, Language language)
Stem input according to specified stemming mode.- Parameters:
input
- the string to stem.mode
- the stemming modelanguage
- the language to use for stemming- Returns:
- list of possible stems. Empty if none.
- Throws:
ProcessingException
- thrown if there is an exception stemming this input
-
-