|
Java Access to WordNet | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--danbikel.wordnet.WNDataEntry
Container of all information associated with a synset's data entry
in WordNet. Note that there are no public constructors for this class, as
instances are only meant to be obtained by calling
WordNet.getDataEntry(java.lang.String, int).
| Field Summary | |
protected boolean |
adjSatellite
Indicator of whether this adjective synset is an adjective satellite (used only for adjectives). |
protected int |
fileNum
The lexicographer's file number for this data entry. |
protected int[] |
frame
The synset-level verb frames for this synset (used only for verbs). |
protected String |
gloss
The gloss for this synset. |
protected boolean |
good
Indicator of whether the data entry file line used to construct this object was valid. |
protected WNPointer[] |
pointer
The pointers from or to this synset or its elements. |
protected String |
pos
The part of speech for this data entry. |
protected int |
synset
The unique integer representing a synset. |
protected WNWord[] |
word
The lemmas in this synset. |
| Method Summary | |
boolean |
equals(Object o)
Returns whether the WNDataEntry object o is
equal to this object. |
int |
getFileNum()
Returns the lexicographer's file number for this data entry. |
WNPointer[] |
getFilteredPointers(Filter filter)
Returns the pointers from or to this synset or its lemmas as filtered by filter. |
int[] |
getFrames()
Returns the synset-level verb frames of this synset (used only for verbs). |
String |
getGloss()
Returns the gloss of this synset. |
WNPointer[] |
getPointers()
Returns the pointers from or to this synset or its lemmas. |
String |
getPos()
Returns the part of speech of this data entry. |
int |
getSynset()
Returns the synset of this data entry. |
WNWord[] |
getWords()
Returns the lemmas in the synset of this data entry. |
boolean |
good()
Returns whether the parse of the data file line with which this object was constructed was valid. |
boolean |
isAdjSatellite()
Returns whether this adjective synset is an adjective satellite (used only for adjectives). |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int synset
protected int fileNum
protected String pos
protected WNWord[] word
protected WNPointer[] pointer
protected int[] frame
protected String gloss
protected boolean good
protected boolean adjSatellite
| Method Detail |
public int getSynset()
public int getFileNum()
public String getPos()
public WNWord[] getWords()
public int[] getFrames()
public String getGloss()
public boolean good()
public WNPointer[] getPointers()
public WNPointer[] getFilteredPointers(Filter filter)
filter.
filter - the filter used to extract only certain pointerspublic boolean isAdjSatellite()
public boolean equals(Object o)
WNDataEntry object o is
equal to this object. Two WNDataEntry objects are equal if
they have the same synset and the same part of speech.
equals in class Object
|
Java Access to WordNet | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||