|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.lexicon.MutableWordImpl
Field Summary | |
private String |
lemma
|
private List |
senseList
|
(package private) static long |
serialVersionUID
|
Constructor Summary | |
MutableWordImpl(String newLemma)
|
Method Summary | |
LexKBWordSense |
addSense(int index,
MutableLexKBSynset wordSynset)
Add a new sense to this word at the given index |
LexKBWordSense |
addSense(MutableLexKBSynset wordSynset)
Add a new sense to this word |
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 |
void |
removeSense(LexKBWordSense theSense)
|
void |
removeSenses()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private String lemma
private List senseList
static final long serialVersionUID
Constructor Detail |
public MutableWordImpl(String newLemma)
Method Detail |
public LexKBWordSense addSense(MutableLexKBSynset wordSynset)
MutableWord
addSense
in interface MutableWord
public LexKBWordSense addSense(int index, MutableLexKBSynset wordSynset)
MutableWord
addSense
in interface MutableWord
public List getWordSenses()
Word
getWordSenses
in interface Word
public String getLemma()
Word
getLemma
in interface Word
public int getSenseCount()
Word
getSenseCount
in interface Word
public void removeSenses()
removeSenses
in interface MutableWord
public void removeSense(LexKBWordSense theSense)
removeSense
in interface MutableWord
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |