Class DictEntry
java.lang.Object
org.apache.lucene.analysis.hunspell.DictEntry
An object representing *.dic file entry with its word, flags and morphological data.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
stem
-
-
Constructor Details
-
DictEntry
DictEntry(String stem)
-
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getStem
- Returns:
- the stem word in the dictionary
-
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
- Returns:
- morphological fields (of
kk:vvvvvv
form, sorted, space-separated, excludingph:
) associated with the homonym at the given entry index, or an empty string
-
getMorphologicalValues
- Parameters:
key
- the key in the formkk:
by which to filter the morphological fields- Returns:
- the values (of
vvvvvv
form) of morphological fields with the given key associated with the homonym at the given entry index
-
create
-