|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Synset
Represents WordNet synset.
| Method Summary | |
|---|---|
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 |
getSemanticRelations()
get the SemanticRelation-s of this synset |
List |
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 |
getWordSenses()
WordSenses contained in this synset |
boolean |
isUniqueBeginner()
is this synset a UB - i.e. has no hypernym |
| Method Detail |
|---|
int getPOS()
boolean isUniqueBeginner()
throws WordNetException
WordNetExceptionString getGloss()
long getOffset()
List getWordSenses()
WordSense getWordSense(int offset)
List getSemanticRelations()
throws WordNetException
WordNetException
List getSemanticRelations(int type)
throws WordNetException
WordNetException
|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||