Modifier and Type | Method and Description |
---|---|
WordClass |
LexUnit.getWordClass()
Return the
WordClass of this LexUnit . |
WordClass |
Synset.getWordClass()
Returns the
WordClass that this Synset belongs to. |
static WordClass |
WordClass.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WordClass[] |
WordClass.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<Synset> |
GermaNet.getSynsets(WordClass wordClass)
Returns a
List of all Synsets in the specified
wordClass . |
boolean |
LexUnit.inWordClass(WordClass wordClass)
Return true if this
LexUnit is in wordClass . |
boolean |
Synset.inWordClass(WordClass wordClass)
Return true if this
Synset is in wordClass . |
protected void |
Synset.setWordClass(WordClass wordClass)
Sets the word class of this
Synset . |
Constructor and Description |
---|
Synset(int id,
WordCategory wordCategory,
WordClass wordClass)
Constructs a
Synset with the specified attributes. |