GATE
Version 3.1-2270

gate.wordnet
Interface WordNet

All Superinterfaces:
FeatureBearer, LanguageResource, NameBearer, Resource, Serializable
All Known Implementing Classes:
IndexFileWordNetImpl

public interface WordNet
extends LanguageResource

Represents WordNet LKB.


Field Summary
static int POS_ADJECTIVE
           
static int POS_ADVERB
           
static int POS_NOUN
           
static int POS_VERB
           
 
Method Summary
 URL getPropertyUrl()
           
 Iterator getSynsets(int pos)
          returns all synsets for specific POS
 Iterator getUniqueBeginners()
          returns all unique beginners
 String getVersion()
          returns the WordNet version
 List lookupWord(String lemma)
          returns list of WordSense-s for specific lemma
 List lookupWord(String lemma, int pos)
          returns list of WordSense-s for specific lemma of the specified POS
 void setPropertyUrl(URL _propertiesUrl)
           
 
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
 

Field Detail

POS_ADJECTIVE

static final int POS_ADJECTIVE
See Also:
Constant Field Values

POS_ADVERB

static final int POS_ADVERB
See Also:
Constant Field Values

POS_NOUN

static final int POS_NOUN
See Also:
Constant Field Values

POS_VERB

static final int POS_VERB
See Also:
Constant Field Values
Method Detail

getVersion

String getVersion()
returns the WordNet version


getSynsets

Iterator getSynsets(int pos)
                    throws WordNetException
returns all synsets for specific POS

Throws:
WordNetException

getUniqueBeginners

Iterator getUniqueBeginners()
returns all unique beginners


lookupWord

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

Throws:
WordNetException

lookupWord

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

Throws:
WordNetException

setPropertyUrl

void setPropertyUrl(URL _propertiesUrl)

getPropertyUrl

URL getPropertyUrl()

GATE
Version 3.1-2270