Interface DictEntries
An object representing homonym dictionary entries. Note that the order of entries here may differ
from the order in the *.dic file!
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
getMorphologicalData
(int entryIndex) Same asget(entryIndex).getMorphologicalData()
getMorphologicalValues
(int entryIndex, String key) Same asget(entryIndex).getMorphologicalValues(key)
int
size()
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
-
Method Details
-
size
int size()- Specified by:
size
in interfaceCollection<DictEntry>
- Specified by:
size
in interfaceList<DictEntry>
- 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() - 1
and these indices can be passed into other methods of this class.
-
getMorphologicalData
Same asget(entryIndex).getMorphologicalData()
-
getMorphologicalValues
Same asget(entryIndex).getMorphologicalValues(key)
-