public static class HunspellStemmer.Stem extends Object
Constructor and Description |
---|
HunspellStemmer.Stem(char[] stem,
int stemLength)
Creates a new Stem wrapping the given word stem
|
Modifier and Type | Method and Description |
---|---|
void |
addPrefix(HunspellAffix prefix)
Adds a prefix to the list of prefixes used to generate this stem.
|
void |
addSuffix(HunspellAffix suffix)
Adds a suffix to the list of suffixes used to generate this stem.
|
List<HunspellAffix> |
getPrefixes()
Returns the list of prefixes used to generate the stem
|
char[] |
getStem()
Returns the actual word stem itself
|
int |
getStemLength() |
String |
getStemString() |
List<HunspellAffix> |
getSuffixes()
Returns the list of suffixes used to generate the stem
|
public HunspellStemmer.Stem(char[] stem, int stemLength)
stem
- Stem of a wordpublic void addPrefix(HunspellAffix prefix)
prefix
- Prefix to add to the list of prefixes for this stempublic void addSuffix(HunspellAffix suffix)
suffix
- Suffix to add to the list of suffixes for this stempublic List<HunspellAffix> getPrefixes()
public List<HunspellAffix> getSuffixes()
public char[] getStem()
public int getStemLength()
public String getStemString()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.