Package org.carrot2.language
Interface LexicalData
-
- All Known Implementing Classes:
LexicalDataImpl
public interface LexicalData
Provides additional word and label filtering information for a given language.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
ignoreLabel(CharSequence labelCandidate)
boolean
ignoreWord(CharSequence word)
-
-
-
Method Detail
-
ignoreWord
boolean ignoreWord(CharSequence word)
- Returns:
- Return true if the provided term should be ignored in processing.
-
ignoreLabel
boolean ignoreLabel(CharSequence labelCandidate)
- Returns:
- Return true if the label candidate should be ignored in processing.
-
-