GATE
Version 3.1-2270

gate.lexicon
Interface MutableLexicalKnowledgeBase

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

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

void setVersion(String newVersion)
returns the lexicon version


addWord

MutableWord addWord(String lemma)
add a new word


addSynset

MutableLexKBSynset addSynset()
add a new synset


addPOSType

void addPOSType(Object newPOSType)

removeWord

void removeWord(MutableWord theWord)

removeSynset

void removeSynset(MutableLexKBSynset synset)

GATE
Version 3.1-2270