edu.mit.jwi.item
Interface IIndexWordID

All Superinterfaces:
IHasPOS, IItemID<IIndexWord>, java.io.Serializable
All Known Implementing Classes:
IndexWordID

public interface IIndexWordID
extends IHasPOS, IItemID<IIndexWord>

A unique identifier for an index word. An index word ID is sufficient to retrieve a specific index word from the Wordnet database. It consists of both a lemma (root form) and part of speech.

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

Method Summary
 java.lang.String getLemma()
          Returns the lemma (root form) of the index word that this ID indicates.
 
Methods inherited from interface edu.mit.jwi.item.IHasPOS
getPOS
 

Method Detail

getLemma

java.lang.String getLemma()
Returns the lemma (root form) of the index word that this ID indicates. The lemma will never be null, empty, or all whitespace.

Returns:
the lemma of the index word
Since:
JWI 1.0


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