weka.core.stemmers
Interface Stemmer

All Superinterfaces:
RevisionHandler, java.io.Serializable
All Known Implementing Classes:
IteratedLovinsStemmer, LovinsStemmer, NullStemmer, SnowballStemmer

public interface Stemmer
extends java.io.Serializable, RevisionHandler

Interface for all stemming algorithms.

Version:
$Revision: 1.3 $
Author:
FracPete (fracpete at waikato dot ac dot nz)

Method Summary
 java.lang.String stem(java.lang.String word)
          Stems the given word and returns the stemmed version
 
Methods inherited from interface weka.core.RevisionHandler
getRevision
 

Method Detail

stem

java.lang.String stem(java.lang.String word)
Stems the given word and returns the stemmed version

Parameters:
word - the unstemmed word
Returns:
the stemmed word