Package org.apache.lucene.analysis.pt
Class RSLPStemmerBase.RuleWithSetExceptions
java.lang.Object
org.apache.lucene.analysis.pt.RSLPStemmerBase.Rule
org.apache.lucene.analysis.pt.RSLPStemmerBase.RuleWithSetExceptions
- Enclosing class:
RSLPStemmerBase
A rule with a set of whole-word exceptions.
-
Field Summary
Fields inherited from class org.apache.lucene.analysis.pt.RSLPStemmerBase.Rule
min, replacement, suffix
-
Constructor Summary
ConstructorDescriptionRuleWithSetExceptions
(String suffix, int min, String replacement, String[] exceptions) -
Method Summary
Methods inherited from class org.apache.lucene.analysis.pt.RSLPStemmerBase.Rule
replace
-
Field Details
-
exceptions
-
-
Constructor Details
-
RuleWithSetExceptions
-
-
Method Details
-
matches
public boolean matches(char[] s, int len) - Overrides:
matches
in classRSLPStemmerBase.Rule
- Returns:
- true if the word matches this rule.
-