|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.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 entryMethod Detail |
---|
public int getOffset()
ISenseEntry
getOffset
in interface ISenseEntry
public POS getPOS()
IHasPOS
null
.
getPOS
in interface IHasPOS
null
if none.public int getSenseNumber()
ISenseEntry
getSenseNumber
in interface ISenseEntry
public ISenseKey getSenseKey()
ISenseEntry
null
.
getSenseKey
in interface ISenseEntry
null
sense key for this sense entry.public int getTagCount()
ISenseEntry
getTagCount
in interface ISenseEntry
public int hashCode()
hashCode
in class java.lang.Object
public 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 |