Main Page   Namespace List   Class Hierarchy   Alphabetical List   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

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

virtual char * stemWord (char *word)=0

Static Public Attributes

const string category = "Stemmer"
const string identifier = "stemmer"

Detailed Description

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


Constructor & Destructor Documentation

Stemmer::Stemmer   [inline]
 


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.


Member Data Documentation

const string Stemmer::category = "Stemmer" [static]
 

Reimplemented from TextHandler.

const string Stemmer::identifier = "stemmer" [static]
 

Reimplemented from TextHandler.

Reimplemented in ArabicStemmer, KStemmer, and PorterStemmer.


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:55 2004 for Lemur Toolkit by doxygen1.2.18