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

Stemmer.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  *
00003  *  Original source copyright (c) 2001, Carnegie Mellon University.
00004  *  See copyright.cmu for details.
00005  *  Modifications copyright (c) 2002, University of Massachusetts.
00006  *  See copyright.umass for details.
00007  *
00008  *==========================================================================
00009 */
00010 
00011 #include "TextHandler.hpp"
00012 
00013 #ifndef _STEMMER_HPP
00014 #define _STEMMER_HPP
00015 
00016 
00021 
00022 class Stemmer : public TextHandler {
00023 
00024 public:
00025   
00026   virtual char * handleWord(char * word) {
00027     if (word != NULL) {
00028       return stemWord(word);
00029     }
00030     return word;
00031   }
00034   virtual char *stemWord(char * word) = 0;
00035 
00036 };
00037 
00038 #endif

Generated on Fri Feb 6 07:11:49 2004 for LEMUR by doxygen1.2.16