public interface WordNet extends LanguageResource
Modifier and Type | Field and Description |
---|---|
static int |
POS_ADJECTIVE |
static int |
POS_ADVERB |
static int |
POS_NOUN |
static int |
POS_VERB |
Modifier and Type | Method and Description |
---|---|
URL |
getPropertyUrl() |
Iterator<Synset> |
getSynsets(int pos)
returns all synsets for specific POS
|
Iterator<Synset> |
getUniqueBeginners()
returns all unique beginners
|
String |
getVersion()
returns the WordNet version
|
List<WordSense> |
lookupWord(String lemma)
returns list of WordSense-s for specific lemma
|
List<WordSense> |
lookupWord(String lemma,
int pos)
returns list of WordSense-s for specific lemma of the specified POS
|
void |
setPropertyUrl(URL _propertiesUrl) |
getDataStore, getLRPersistenceId, getParent, isModified, setDataStore, setLRPersistenceId, setParent, sync
cleanup, getParameterValue, init, setParameterValue, setParameterValues
getFeatures, setFeatures
getName, setName
static final int POS_ADJECTIVE
static final int POS_ADVERB
static final int POS_NOUN
static final int POS_VERB
String getVersion()
Iterator<Synset> getSynsets(int pos) throws WordNetException
WordNetException
List<WordSense> lookupWord(String lemma) throws WordNetException
WordNetException
List<WordSense> lookupWord(String lemma, int pos) throws WordNetException
WordNetException
void setPropertyUrl(URL _propertiesUrl)
URL getPropertyUrl()
Copyright © 2024 GATE. All rights reserved.