Class DictEntry
- java.lang.Object
-
- org.apache.lucene.analysis.hunspell.DictEntry
-
public abstract class DictEntry extends Object
An object representing *.dic file entry with its word, flags and morphological data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
abstract String
getFlags()
abstract String
getMorphologicalData()
List<String>
getMorphologicalValues(String key)
String
getStem()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getStem
public String getStem()
- Returns:
- the stem word in the dictionary
-
getFlags
public abstract String getFlags()
- Returns:
- the flags associated with the dictionary entry, encoded in the same format as in the *.dic file, but possibly in a different order
-
getMorphologicalData
public abstract String getMorphologicalData()
- Returns:
- morphological fields (of
kk:vvvvvv
form, sorted, space-separated, excludingph:
) associated with the homonym at the given entry index, or an empty string
-
-