Modifier and Type | Method and Description |
---|---|
WordCategory |
LexUnit.getWordCategory()
Return the
WordCategory of this LexUnit . |
WordCategory |
Synset.getWordCategory()
Returns the
WordCategory that this Synset belongs to. |
static WordCategory |
WordCategory.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WordCategory[] |
WordCategory.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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.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 . |
boolean |
LexUnit.inWordCategory(WordCategory wordCategory)
Return true if this
LexUnit is in wordCategory . |
boolean |
Synset.inWordCategory(WordCategory wordCategory)
Return true if this
Synset is in wordCategory . |
Constructor and Description |
---|
Synset(int id,
WordCategory wordCategory,
WordClass wordClass)
Constructs a
Synset with the specified attributes. |