gate.wordnet
Class WordImpl
java.lang.Object
|
+--gate.wordnet.WordImpl
- All Implemented Interfaces:
- Word
- public class WordImpl
- extends Object
- implements Word
Constructor Summary |
WordImpl(String _lemma,
int _senseCount,
net.didion.jwnl.dictionary.Dictionary _wnDictionary)
|
Method Summary |
String |
getLemma()
returns the lemma of this word |
int |
getSenseCount()
returns the number of senses of this word (not necessarily loading them from storage) |
List |
getWordSenses()
returns the senses of this word |
WordImpl
public WordImpl(String _lemma,
int _senseCount,
net.didion.jwnl.dictionary.Dictionary _wnDictionary)
getWordSenses
public List getWordSenses()
throws WordNetException
- returns the senses of this word
- Specified by:
getWordSenses
in interface Word
WordNetException
getLemma
public String getLemma()
- returns the lemma of this word
- Specified by:
getLemma
in interface Word
getSenseCount
public int getSenseCount()
- returns the number of senses of this word (not necessarily loading them from storage)
- Specified by:
getSenseCount
in interface Word