|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gwu.wordnet.IndexWord
An IndexWord represents a line of the pos.index file.
An IndexWord is created retrieved or retrieved via DictionaryDatabase.lookupIndexWord(edu.gwu.wordnet.POS, java.lang.String),
and has a Synset.
| Field Summary | |
protected FileBackedDictionary |
dictionary
|
protected java.lang.String |
lemma
|
protected long |
offset
|
protected POS |
pos
|
protected PointerType[] |
ptrTypes
|
protected long[] |
synsetOffsets
|
protected Synset[] |
synsets
This is null until getSenses has been called. |
protected int |
taggedSenseCount
|
| Method Summary | |
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getLemma()
Return the word's |
PointerType[] |
getPointerTypes()
The pointer types available for this indexed word. |
POS |
getPOS()
|
Synset[] |
getSenses()
|
int |
getTaggedSenseCount()
|
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected FileBackedDictionary dictionary
protected POS pos
protected long offset
protected java.lang.String lemma
protected int taggedSenseCount
protected long[] synsetOffsets
protected Synset[] synsets
protected PointerType[] ptrTypes
| Method Detail |
public boolean equals(java.lang.Object object)
public int hashCode()
public java.lang.String toString()
public POS getPOS()
public PointerType[] getPointerTypes()
public java.lang.String getLemma()
"dog" or "get up".
public int getTaggedSenseCount()
public Synset[] getSenses()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||