edu.mit.jwi.item
Interface IWordID

All Superinterfaces:
IHasPOS, IItemID<IWord>
All Known Implementing Classes:
WordID

public interface IWordID
extends IHasPOS, IItemID<IWord>

A unique identifier sufficient to retrieve a particular word from the Wordnet database. Consists of a synset id, sense number, and lemma.

Since:
JWI 1.0
Version:
2.2.2
Author:
Mark A. Finlayson

Method Summary
 String getLemma()
          Returns the lemma (word root) associated with this word.
 ISynsetID getSynsetID()
          Returns the synset id object associated with this word.
 int getWordNumber()
          Returns the word number, which is a number from 1 to 255 that indicates the order this word is listed in the Wordnet data files.
 
Methods inherited from interface edu.mit.jwi.item.IHasPOS
getPOS
 

Method Detail

getSynsetID

ISynsetID getSynsetID()
Returns the synset id object associated with this word.

Returns:
the synset id for this word; never null
Since:
JWI 1.0

getWordNumber

int getWordNumber()
Returns the word number, which is a number from 1 to 255 that indicates the order this word is listed in the Wordnet data files.

Returns:
an integer between 1 and 255, inclusive.
Since:
JWI 1.0

getLemma

String getLemma()
Returns the lemma (word root) associated with this word.

Returns:
the lemma (word root) associated with this word.
Since:
JWI 1.0


Copyright © 2011. All Rights Reserved.