|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final int POS_ADJECTIVE
public static final int POS_ADVERB
public static final int POS_NOUN
public static final int POS_VERB
Method Detail |
public String getVersion()
public Iterator getSynsets(int pos) throws WordNetException
WordNetException
public Iterator getUniqueBeginners()
public List lookupWord(String lemma) throws WordNetException
WordNetException
public List lookupWord(String lemma, int pos) throws WordNetException
WordNetException
public void setPropertyUrl(URL _propertiesUrl)
public URL getPropertyUrl()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |