public interface Synset
Modifier and Type | Method and Description |
---|---|
String |
getGloss()
textual description of the synset
|
long |
getOffset()
offset in index files
|
int |
getPOS()
returns the part-of-speech for this synset, see WordNet::POS_XXX constants
|
List<SemanticRelation> |
getSemanticRelations()
get the SemanticRelation-s of this synset
|
List<SemanticRelation> |
getSemanticRelations(int type)
get the SemanticRelation-s of specific type (HYPERNYm) for this synset
|
WordSense |
getWordSense(int offset)
get specific WordSense according to its order in the synset - most important senses come first
|
List<WordSense> |
getWordSenses()
WordSenses contained in this synset
|
boolean |
isUniqueBeginner()
is this synset a UB - i.e.
|
int getPOS()
boolean isUniqueBeginner() throws WordNetException
WordNetException
String getGloss()
long getOffset()
WordSense getWordSense(int offset)
List<SemanticRelation> getSemanticRelations() throws WordNetException
WordNetException
List<SemanticRelation> getSemanticRelations(int type) throws WordNetException
WordNetException
Copyright © 2024 GATE. All rights reserved.