public class SenseEntry extends Object implements ISenseEntry
ISenseEntry interface.| Constructor and Description |
|---|
SenseEntry(ISenseKey key,
int offset,
int num,
int count)
Constructs a new sense entry object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(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() |
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 entrypublic int getOffset()
ISenseEntrygetOffset in interface ISenseEntrypublic POS getPOS()
IHasPOSnull.public int getSenseNumber()
ISenseEntrygetSenseNumber in interface ISenseEntrypublic ISenseKey getSenseKey()
ISenseEntrynull.getSenseKey in interface ISenseEntrynull sense key for this sense entry.public int getTagCount()
ISenseEntrygetTagCount in interface ISenseEntryCopyright © 2018. All rights reserved.