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 List<StemList>
stem(String input, StemMode mode, Language language)
Stem input according to specified stemming mode.
-
-
-
Method Detail
-
stem
List<StemList> stem(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:
- a list of possible stems. Empty if none.
- Throws:
ProcessingException
- thrown if there is an exception stemming this input
-
-