protected static class RSLPStemmerBase.Step extends Object
Modifier and Type | Field | Description |
---|---|---|
protected int |
min |
|
protected String |
name |
|
protected RSLPStemmerBase.Rule[] |
rules |
|
protected char[][] |
suffixes |
Constructor | Description |
---|---|
Step(String name,
RSLPStemmerBase.Rule[] rules,
int min,
String[] suffixes) |
Create a new step
|
protected final String name
protected final RSLPStemmerBase.Rule[] rules
protected final int min
protected final char[][] suffixes
public Step(String name, RSLPStemmerBase.Rule[] rules, int min, String[] suffixes)
name
- Step's name.rules
- an ordered list of rules.min
- minimum word size. if this is 0 it is automatically calculated.suffixes
- optional list of conditional suffixes. may be null.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.