| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.analysis.hunspell.HunspellStemmer.Stem
public static class HunspellStemmer.Stem
Stem represents all information known about a stem of a word. This includes the stem, and the prefixes and suffixes that were used to change the word into the stem.
| Constructor Summary | |
|---|---|
HunspellStemmer.Stem(char[] stem,
                     int stemLength)
Creates a new Stem wrapping the given word stem  | 
|
| Method Summary | |
|---|---|
 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  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public HunspellStemmer.Stem(char[] stem,
                            int stemLength)
stem - Stem of a word| Method Detail | 
|---|
public 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()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||