|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mit.jwi.item.SenseEntry
public class SenseEntry
Concrete implementation of the ISenseEntry interface.
| Constructor Summary | |
|---|---|
SenseEntry(ISenseKey key,
int offset,
int num,
int count)
Constructs a new sense entry object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getOffset()
Returns the synset offset for this sense entry, a non-negative integer. |
POS |
getPOS()
Returns the associated part of speech for this object. |
ISenseKey |
getSenseKey()
Returns the sense key for this sense entry. |
int |
getSenseNumber()
Returns the sense number for the word indicated by this entry. |
int |
getTagCount()
Returns the tag count for the sense entry. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SenseEntry(ISenseKey key,
int offset,
int num,
int count)
key - the sense key of the entryoffset - the synset offset of the entrynum - the sense number of the entrycount - the tag count of the entry| Method Detail |
|---|
public int getOffset()
ISenseEntry
getOffset in interface ISenseEntrypublic POS getPOS()
IHasPOSnull.
getPOS in interface IHasPOSnull if none.public int getSenseNumber()
ISenseEntry
getSenseNumber in interface ISenseEntrypublic ISenseKey getSenseKey()
ISenseEntrynull.
getSenseKey in interface ISenseEntrynull sense key for this sense entry.public int getTagCount()
ISenseEntry
getTagCount in interface ISenseEntrypublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||