Modifier and Type | Method and Description |
---|---|
LexUnit |
GermaNet.getLexUnitByID(int id)
Returns the
LexUnit with id , or
null if it is not found. |
Modifier and Type | Method and Description |
---|---|
java.util.List<LexUnit> |
GermaNet.getLexUnits()
Returns a
List of all LexUnits . |
java.util.List<LexUnit> |
Synset.getLexUnits()
Returns a
List of this Synset 's
LexUnits . |
java.util.List<LexUnit> |
GermaNet.getLexUnits(java.lang.String orthForm)
Returns a
List of all LexUnits in which
orthForm occurs as main orthographical form, as
orthographical variant, as old orthographical form, or as old
orthographic variant. |
java.util.List<LexUnit> |
GermaNet.getLexUnits(java.lang.String orthForm,
boolean considerMainOrthFormOnly)
Returns a
List of all LexUnits in which
orthForm occurs as main orthographical form -- in case
considerAllOrthForms is true. |
java.util.List<LexUnit> |
GermaNet.getLexUnits(java.lang.String orthForm,
WordCategory wordCategory)
Returns a
List of all LexUnits with the
specified WordCategory in which orthForm
occurs as as main orthographical form, as
orthographical variant, as old orthographical form, or as old
orthographic variant. |
java.util.List<LexUnit> |
GermaNet.getLexUnits(java.lang.String orthForm,
WordCategory wordCategory,
boolean considerMainOrthFormOnly)
Returns a
List of all LexUnits with the
specified WordCategory in which orthForm occurs
as main orthographical form -- in case considerAllOrthForms
is true. |
java.util.List<LexUnit> |
GermaNet.getLexUnits(WordCategory wordCategory)
Returns a
List of all LexUnits in the specified
wordCategory . |
java.util.HashMap<LexUnit,CompoundInfo> |
GermaNet.getLexUnitsWithCompoundInfo() |
java.util.List<LexUnit> |
LexUnit.getRelatedLexUnits()
Returns a
List of all of the LexUnits that this
LexUnit has any relation to. |
java.util.List<LexUnit> |
LexUnit.getRelatedLexUnits(LexRel type)
Returns a
List of LexUnits that have the
relation type to this LexUnit . |
java.util.List<LexUnit> |
LexUnit.getSynonyms()
Returns the synonyms of this
LexUnit - a List
of LexUnits that are part of this LexUnit 's
Synset . |
Modifier and Type | Method and Description |
---|---|
protected void |
Synset.addLexUnit(LexUnit lexUnit)
Adds a
LexUnit to this Synset . |
protected void |
LexUnit.addRelation(LexRel type,
LexUnit target)
Adds a relation of the specified type to the target
LexUnit . |
boolean |
LexUnit.equals(LexUnit other)
Return true if this
LexUnit is equal to another LexUnit . |