edu.mit.jwi.item
Interface IIndexWord
- All Superinterfaces:
- IHasPOS, IItem<IIndexWordID>
- 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.2.2
- Author:
- Mark A. Finlayson
|
Method Summary |
String |
getLemma()
|
int |
getTagSenseCount()
Returns the number of senses of lemma that are ranked according to their
frequency of occurrence in semantic concordance texts. |
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.IItem |
getID |
getLemma
String getLemma()
- Returns:
- the lemma (word root) associated with this index word.
- Since:
- JWI 1.0
getWordIDs
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
Copyright © 2011. All Rights Reserved.