Package org.apache.lucene.analysis.pt
Class RSLPStemmerBase.RuleWithSuffixExceptions
- java.lang.Object
-
- org.apache.lucene.analysis.pt.RSLPStemmerBase.Rule
-
- org.apache.lucene.analysis.pt.RSLPStemmerBase.RuleWithSuffixExceptions
-
- Enclosing class:
- RSLPStemmerBase
protected static class RSLPStemmerBase.RuleWithSuffixExceptions extends RSLPStemmerBase.Rule
A rule with a set of exceptional suffixes.
-
-
Field Summary
Fields Modifier and Type Field Description protected char[][]
exceptions
-
Fields inherited from class org.apache.lucene.analysis.pt.RSLPStemmerBase.Rule
min, replacement, suffix
-
-
Constructor Summary
Constructors Constructor Description RuleWithSuffixExceptions(String suffix, int min, String replacement, String[] exceptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(char[] s, int len)
-
Methods inherited from class org.apache.lucene.analysis.pt.RSLPStemmerBase.Rule
replace
-
-
-
-
Method Detail
-
matches
public boolean matches(char[] s, int len)
- Overrides:
matches
in classRSLPStemmerBase.Rule
- Returns:
- true if the word matches this rule.
-
-