Package org.apache.lucene.analysis.pt
Class RSLPStemmerBase.Rule
- java.lang.Object
-
- org.apache.lucene.analysis.pt.RSLPStemmerBase.Rule
-
- Direct Known Subclasses:
RSLPStemmerBase.RuleWithSetExceptions
,RSLPStemmerBase.RuleWithSuffixExceptions
- Enclosing class:
- RSLPStemmerBase
protected static class RSLPStemmerBase.Rule extends Object
A basic rule, with no exceptions.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
min
protected char[]
replacement
protected char[]
suffix
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(char[] s, int len)
int
replace(char[] s, int len)
-