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 booleanequals(Object o)abstract StringgetFlags()abstract StringgetMorphologicalData()List<String>getMorphologicalValues(String key)StringgetStem()inthashCode()StringtoString()
-
-
-
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:vvvvvvform, sorted, space-separated, excludingph:) associated with the homonym at the given entry index, or an empty string
-
-