edu.mit.jwi.item
Interface IIndexWord

All Superinterfaces:
IHasPOS, IItem<IIndexWordID>, java.io.Serializable
All Known Implementing Classes:
IndexWord

public interface IIndexWord
extends IHasPOS, IItem<IIndexWordID>

A Wordnet index word object, represented in the Wordnet files as a line in an index file.

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

Method Summary
 java.lang.String getLemma()
           
 java.util.Set<IPointer> getPointers()
          Returns an immutable set containing all the different types of pointers that this index word has in all synsets containing this word.
 int getTagSenseCount()
          Returns the number of senses of lemma that are ranked according to their frequency of occurrence in semantic concordance texts.
 java.util.List<IWordID> getWordIDs()
          Returns an immutable list of word id objects, that point to the words for this root form and part of speech combination.
 
Methods inherited from interface edu.mit.jwi.item.IHasPOS
getPOS
 
Methods inherited from interface edu.mit.jwi.item.IItem
getID
 

Method Detail

getLemma

java.lang.String getLemma()
Returns:
the lemma (word root) associated with this index word.
Since:
JWI 1.0

getWordIDs

java.util.List<IWordID> getWordIDs()
Returns an immutable list of word id objects, that point to the words for this root form and part of speech combination. The list will neither be null or empty, or contain null.

Returns:
an immutable list of word id objects, that point to the words for this root form and part of speech combination.
Since:
JWI 2.0

getTagSenseCount

int getTagSenseCount()
Returns the number of senses of lemma that are ranked according to their frequency of occurrence in semantic concordance texts. This will be a non-negative number.

Returns:
the number of senses of lemma that are ranked according to their frequency of occurrence in semantic concordance texts.
Since:
JWI 2.1.2

getPointers

java.util.Set<IPointer> getPointers()
Returns an immutable set containing all the different types of pointers that this index word has in all synsets containing this word. If all senses of the word have no pointers, this method returns an empty set.

Returns:
an immutable set of all pointers across all synsets for this word
Since:
JWI 2.3.0


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