|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
boolean |
addWordSense(LexKBWordSense newWordSense)
add a new word sense at the end of the synset |
boolean |
addWordSense(LexKBWordSense newWordSense,
int offset)
add a new word sense at a given position |
void |
removeSense(LexKBWordSense theSense)
|
void |
removeSenses()
|
void |
setDefinition(String newDefinition)
textual description of the synset |
void |
setPOS(Object newPOS)
sets the part-of-speech for this synset |
boolean |
setWordSenseIndex(LexKBWordSense wordSense,
int newOffset)
change the offset of an existing word sense |
Methods inherited from interface gate.lexicon.LexKBSynset |
getDefinition, getId, getPOS, getWordSense, getWordSenses |
Method Detail |
public void setPOS(Object newPOS)
public void setDefinition(String newDefinition)
public boolean addWordSense(LexKBWordSense newWordSense)
public boolean addWordSense(LexKBWordSense newWordSense, int offset)
public boolean setWordSenseIndex(LexKBWordSense wordSense, int newOffset)
public void removeSenses()
public void removeSense(LexKBWordSense theSense)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |