Interface DictEntries
public interface DictEntries
An object representing homonym dictionary entries. Note that the order of entries here may differ
from the order in the *.dic file!
-
Method Summary
Modifier and TypeMethodDescriptiongetMorphologicalData(int entryIndex) getMorphologicalValues(int entryIndex, String key) intsize()
-
Method Details
-
size
int size()- Returns:
- a positive number of dictionary entries with the same word. Most often it's 1 (unless
there are homonyms). Entries are indexed from 0 to
size() - 1and these indices can be passed into other methods of this class.
-
getMorphologicalData
- Parameters:
entryIndex- an index from 0 (inclusive) tosize()(exclusive)- Returns:
- morphological fields (of
kk:vvvvvvform, sorted, space-separated, excludingph:) associated with the homonym at the given entry index, or an empty string
-
getMorphologicalValues
- Parameters:
entryIndex- an index from 0 (inclusive) tosize()(exclusive)key- the key in the formkk:by which to filter the morphological fields- Returns:
- the values (of
vvvvvvform) of morphological fields with the given key associated with the homonym at the given entry index
-