protected static class RSLPStemmerBase.Rule extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
min |
protected char[] |
replacement |
protected char[] |
suffix |
Constructor and Description |
---|
Rule(String suffix,
int min,
String replacement)
Create a rule.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(char[] s,
int len) |
int |
replace(char[] s,
int len) |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.