Synset class

Constructors

Synset(dynamic id, WordCategory category, WordClass word_class)

Properties

category WordCategory
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id ↔ dynamic
getter/setter pair
incoming_relations Map
getter/setter pair
lexunits List<Lexunit>
getter/setter pair
paraphrase String
getter/setter pair
relations Map
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
word_class WordClass
getter/setter pair

Methods

add_lexunit(Lexunit unit) → void
direct_hypernyms() → dynamic
direct_hyponyms() → dynamic
get_distances_hypernym_dic() Map
internal method, not needed, do not call this directly
is_leaf() bool
is_root() bool
lowest_common_subsumer(Synset other) Set
returning the first point where the hypernym path of both synsets match
min_depth() int
min_depth (to root) -> minimal distance to root from this synset
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
num_lexunits() int
shortest_path_distance(Synset other) int
shortest distance (int) to another Synset in the word tree
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited