GATE
Version 3.1-2270

gate.wordnet
Class WordImpl

java.lang.Object
  extended by 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordImpl

public WordImpl(String _lemma,
                int _senseCount,
                net.didion.jwnl.dictionary.Dictionary _wnDictionary)
Method Detail

getWordSenses

public List getWordSenses()
                   throws WordNetException
returns the senses of this word

Specified by:
getWordSenses in interface Word
Throws:
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

GATE
Version 3.1-2270