Interface Stemmer.RootProcessor
- Enclosing class:
Stemmer
static interface Stemmer.RootProcessor
-
Method Summary
Modifier and TypeMethodDescriptionboolean
processRoot
(CharsRef stem, int formID, int morphDataId, int outerPrefix, int innerPrefix, int outerSuffix, int innerSuffix)
-
Method Details
-
processRoot
boolean processRoot(CharsRef stem, int formID, int morphDataId, int outerPrefix, int innerPrefix, int outerSuffix, int innerSuffix) - Parameters:
stem
- the text of the found dictionary entryformID
- internal id of the dictionary entry, e.g. to be used inDictionary.hasFlag(int, char)
morphDataId
- the id of the custom morphological data (0 if none), to be used withDictionary.morphData
outerPrefix
- the id of the outer prefix applied to the stem, or -1 if noneinnerPrefix
- the id of the inner prefix applied to the stem, or -1 if noneouterSuffix
- the id of the outer suffix applied to the stem, or -1 if noneinnerSuffix
- the id of the inner suffix applied to the stem, or -1 if none- Returns:
- whether the processing should be continued
-