Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Stemmer Class Reference

#include <Stemmer.hpp>

Inheritance diagram for Stemmer:

TextHandler ArabicStemmer KStemmer PorterStemmer List of all members.

Public Methods

virtual char * handleWord (char *word)
 Handle a word, possibly transforming it.

virtual char * stemWord (char *word)=0

Detailed Description

A generic interface for Stemmers. They should support the TextHandler interface.


Member Function Documentation

virtual char* Stemmer::handleWord char *    word [inline, virtual]
 

Handle a word, possibly transforming it.

Reimplemented from TextHandler.

virtual char* Stemmer::stemWord char *    word [pure virtual]
 

Stem a word. May overwrite the char * passed in.

Implemented in ArabicStemmer, KStemmer, and PorterStemmer.


The documentation for this class was generated from the following file:
Generated on Mon Sep 30 14:14:20 2002 for LEMUR by doxygen1.2.18