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

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

Returns:
The word that was initially extracted from the document

setWord

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

Parameters:
The - word (String s) that was initially extracted from the document

getStem

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

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

getPos

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

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

Parameters:
The - position (int i) of this word in the source document