gov.sandia.cognition.text.term
Interface IndexedTerm

All Superinterfaces:
Termable
All Known Implementing Classes:
DefaultIndexedTerm

public interface IndexedTerm
extends Termable

Interface for a term plus its index.

Since:
3.0
Author:
Justin Basilico

Method Summary
 int getIndex()
          Gets the index associated with the term.
 Term getTerm()
          Gets the term associated with the index.
 
Methods inherited from interface gov.sandia.cognition.text.term.Termable
asTerm
 

Method Detail

getTerm

Term getTerm()
Gets the term associated with the index.

Returns:
The term.

getIndex

int getIndex()
Gets the index associated with the term.

Returns:
The index.