ISSearch
Interface ISTermInterface

All Known Implementing Classes:
ISTerm

public interface ISTermInterface

This interface is used to represent particular terms of the document. The objects that implement this interface are used to store particular words and word stems.

See Also:
String

Method Summary
 int getPos()
          This function returns the position of the word in the source document
 java.lang.String getStem()
          This function returns the word stem
 java.lang.String getWord()
          This function returns the original extracted word
 void setPos(int i)
          This function sets the position of the word in the source document
 void setWord(java.lang.String s)
          This function sets the original extracted word
 

Method Detail

getWord

public java.lang.String getWord()
This function returns the original extracted word

Returns:
The word that was initially extracted from the document

setWord

public void setWord(java.lang.String s)
This function sets the original extracted word


getStem

public java.lang.String getStem()
This function returns the word stem

Returns:
The stem that was created using String.toLowerCase() and Porter stemming

getPos

public int getPos()
This function returns the position of the word in the source document

Returns:
The position of this word in the source document

setPos

public void setPos(int i)
This function sets the position of the word in the source document