GATE
Version 3.1-2270

gate.lexicon
Interface MutableLexKBSynset

All Superinterfaces:
LexKBSynset
All Known Implementing Classes:
MutableLexKBSynsetImpl

public interface MutableLexKBSynset
extends LexKBSynset


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

setPOS

void setPOS(Object newPOS)
sets the part-of-speech for this synset


setDefinition

void setDefinition(String newDefinition)
textual description of the synset


addWordSense

boolean addWordSense(LexKBWordSense newWordSense)
add a new word sense at the end of the synset


addWordSense

boolean addWordSense(LexKBWordSense newWordSense,
                     int offset)
add a new word sense at a given position


setWordSenseIndex

boolean setWordSenseIndex(LexKBWordSense wordSense,
                          int newOffset)
change the offset of an existing word sense


removeSenses

void removeSenses()

removeSense

void removeSense(LexKBWordSense theSense)

GATE
Version 3.1-2270