edu.mit.jwi.item
Interface IHasPOS

All Known Subinterfaces:
IContentType<T>, IExceptionEntry, IExceptionEntryID, IIndexWord, IIndexWordID, ILexFile, ISenseEntry, ISenseKey, IStemmingRule, ISynset, ISynsetID, IWord, IWordID
All Known Implementing Classes:
ContentType, DataSourceDictionary.DataFileIterator, DataSourceDictionary.ExceptionFileIterator, DataSourceDictionary.FileIterator, DataSourceDictionary.FileIterator2, DataSourceDictionary.IndexFileIterator, DataSourceDictionary.SenseEntryFileIterator, ExceptionEntry, ExceptionEntryID, IndexWord, IndexWordID, LexFile, SenseEntry, SenseKey, StemmingRule, Synset, SynsetID, UnknownLexFile, Word, WordID

public interface IHasPOS

An object that potentially has an associated part of speech.

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

Method Summary
 POS getPOS()
          Returns the associated part of speech for this object.
 

Method Detail

getPOS

POS getPOS()
Returns the associated part of speech for this object. If this object is not associated with any particular part of speech, this method may return null.

Returns:
The associated part of speech, or null if none.
Since:
JWI 2.0.0


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