edu.udo.cs.wvtool.generic.stemmer
Interface WVTStemmer

All Known Implementing Classes:
AbstractStemmer, AbstractWordNetStemmer, DictionaryStemmer, DummyStemmer, LovinsStemmerWrapper, PorterStemmerWrapper, SnowballStemmerWrapper, ToLowerCaseConverter, WordNetHypernymStemmer, WordNetSynonymStemmer

public interface WVTStemmer

This interface represents a mechanism to convert a stream of tokens to a stream of word stems.

Version:
$Id: WVTStemmer.java,v 1.2 2006/06/06 11:45:23 mjwurst Exp $
Author:
Michael Wurst

Method Summary
 TokenEnumeration stem(TokenEnumeration source, WVTDocumentInfo d)
          Convert a list of tokens to a list of stems.
 

Method Detail

stem

TokenEnumeration stem(TokenEnumeration source,
                      WVTDocumentInfo d)
                      throws WVToolException
Convert a list of tokens to a list of stems.

Parameters:
source - the original stream of tokens
d - the WVTDocumentInfo value that describes the document being processed
Returns:
the resulting stream of tokens
Throws:
java.lang.Exception - if an error occurs
WVToolException