Modifier and Type | Method and Description |
---|---|
Synset |
LexUnit.getSynset()
Returns the
Synset to which this LexUnit belongs. |
Synset |
GermaNet.getSynsetByID(int id)
Returns the
Synset with id , or
null if it is not found. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Synset> |
Synset.getRelatedSynsets()
Returns a
List of all of the Synsets that this
Synset has any relation to. |
java.util.List<Synset> |
Synset.getRelatedSynsets(ConRel type)
Returns a
List of this Synset 's relations of
type type . |
java.util.List<Synset> |
GermaNet.getSynsets()
Returns a
List of all Synsets . |
java.util.List<Synset> |
GermaNet.getSynsets(java.lang.String orthForm)
Returns a
List of all Synsets in which
orthForm occurs as main orthographical form, as
orthographical variant, as old orthographical form, or as old
orthographic variant in one of its LexUnits , using the
ignoreCase flag as set in the constructor. |
java.util.List<Synset> |
GermaNet.getSynsets(java.lang.String orthForm,
boolean considerMainOrthFormOnly)
Returns a
List of all Synsets in which
orthForm occurs as main orthographical form in one of its
LexUnits -- in case considerAllOrthForms is
true. |
java.util.List<Synset> |
GermaNet.getSynsets(java.lang.String orthForm,
WordCategory wordCategory)
Returns a
List of all Synsets with the
specified WordCategory in which orthForm occurs
as main orthographical form, as orthographical variant, as old
orthographical form, or as old orthographic variant in one of its
LexUnits . |
java.util.List<Synset> |
GermaNet.getSynsets(java.lang.String orthForm,
WordCategory wordCategory,
boolean considerMainOrthFormOnly)
Returns a
List of all Synsets with the
specified WordCategory in which orthForm occurs
as main orthographical form in one of its LexUnits -- in
case considerAllOrthForms is true. |
java.util.List<Synset> |
GermaNet.getSynsets(WordCategory wordCategory)
Returns a
List of all Synsets in the specified
wordCategory . |
java.util.List<Synset> |
GermaNet.getSynsets(WordClass wordClass)
Returns a
List of all Synsets in the specified
wordClass . |
java.util.List<java.util.List<Synset>> |
Synset.getTransRelatedSynsets(ConRel type)
Returns the transitive closure of all relations of type
type
to this Synset . |
Modifier and Type | Method and Description |
---|---|
protected void |
Synset.addRelation(ConRel type,
Synset target)
Add a relation of the specified type to target
Synset . |
protected void |
GermaNet.addSynset(Synset synset)
Adds a
Synset to this GermaNet 's
Synset list. |
boolean |
Synset.equals(Synset other)
Return true if this
Synset is equal to another Synset . |