gate.lexicon
Interface MutableLexicalKnowledgeBase

All Superinterfaces:
FeatureBearer, LanguageResource, LexicalKnowledgeBase, Lexicon, NameBearer, Resource, Serializable
All Known Subinterfaces:
NLGLexicon
All Known Implementing Classes:
MutableLexicalKnowledgeBaseImpl

public interface MutableLexicalKnowledgeBase
extends LexicalKnowledgeBase


Field Summary
 
Fields inherited from interface gate.lexicon.Lexicon
POS_ADJECTIVE, POS_ADVERB, POS_CONJ, POS_NOUN, POS_OTHER, POS_TYPES, POS_VERB
 
Method Summary
 void addPOSType(Object newPOSType)
           
 MutableLexKBSynset addSynset()
          add a new synset
 MutableWord addWord(String lemma)
          add a new word
 void removeSynset(MutableLexKBSynset synset)
           
 void removeWord(MutableWord theWord)
           
 void setVersion(String newVersion)
          returns the lexicon version
 
Methods inherited from interface gate.lexicon.LexicalKnowledgeBase
getPOSTypes, getSynsets, getVersion, lookupWord, lookupWord
 
Methods inherited from interface gate.lexicon.Lexicon
getLexiconId, setLexiconId
 
Methods inherited from interface gate.LanguageResource
getDataStore, getLRPersistenceId, getParent, isModified, setDataStore, setLRPersistenceId, setParent, sync
 
Methods inherited from interface gate.Resource
cleanup, getParameterValue, init, setParameterValue, setParameterValues
 
Methods inherited from interface gate.util.FeatureBearer
getFeatures, setFeatures
 
Methods inherited from interface gate.util.NameBearer
getName, setName
 

Method Detail

setVersion

public void setVersion(String newVersion)
returns the lexicon version


addWord

public MutableWord addWord(String lemma)
add a new word


addSynset

public MutableLexKBSynset addSynset()
add a new synset


addPOSType

public void addPOSType(Object newPOSType)

removeWord

public void removeWord(MutableWord theWord)

removeSynset

public void removeSynset(MutableLexKBSynset synset)