edu.mit.jwi.item
Interface ISenseEntry

All Superinterfaces:
IHasPOS, java.io.Serializable
All Known Implementing Classes:
SenseEntry

public interface ISenseEntry
extends IHasPOS, java.io.Serializable

A Wordnet sense entry object, represented in the Wordnet files as a line in the sense entry.

Since:
JWI 2.1.0
Version:
2.4.0
Author:
Mark A. Finlayson

Method Summary
 int getOffset()
          Returns the synset offset for this sense entry, a non-negative integer.
 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.
 
Methods inherited from interface edu.mit.jwi.item.IHasPOS
getPOS
 

Method Detail

getSenseKey

ISenseKey getSenseKey()
Returns the sense key for this sense entry. Will not return null.

Returns:
The non-null sense key for this sense entry.
Since:
JWI 2.1.0

getOffset

int getOffset()
Returns the synset offset for this sense entry, a non-negative integer.

Returns:
the non-negative synset offset for this entry
Since:
JWI 2.1.0

getSenseNumber

int getSenseNumber()
Returns the sense number for the word indicated by this entry. A sense number is a positive integer.

Returns:
the non-negative sense number for the word indicated by this entry.
Since:
JWI 2.1.0

getTagCount

int getTagCount()
Returns the tag count for the sense entry. A tag count is a non-negative integer that represents the number of times the sense is tagged in various semantic concordance texts. A count of 0 indicates that the sense has not been semantically tagged.

Returns:
the non-negative tag count for this entry
Since:
JWI 2.1.0


Copyright © 2007-2013 Massachusetts Institute of Technology. All Rights Reserved.