GATE
Version 3.1-2270

gate.lexicon
Interface LexicalKnowledgeBase

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

public interface LexicalKnowledgeBase
extends Lexicon


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
 Object[] getPOSTypes()
           
 Iterator getSynsets(Object pos)
          returns all synsets for a specific POS
 String getVersion()
          returns the lexicon version
 List lookupWord(String lemma)
          returns list of WordSense-s for specific lemma
 List lookupWord(String lemma, Object pos)
          returns list of WordSense-s for specific lemma of the specified POS
 
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

getVersion

String getVersion()
returns the lexicon version


getSynsets

Iterator getSynsets(Object pos)
returns all synsets for a specific POS


lookupWord

List lookupWord(String lemma)
returns list of WordSense-s for specific lemma


lookupWord

List lookupWord(String lemma,
                Object pos)
returns list of WordSense-s for specific lemma of the specified POS


getPOSTypes

Object[] getPOSTypes()

GATE
Version 3.1-2270