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

PorterStemmer.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 "Stemmer.hpp"
00012 #include "indri/Porter_Stemmer.hpp"
00013 #ifndef _PORTERSTEMMER_HPP
00014 #define _PORTERSTEMMER_HPP
00015 namespace lemur 
00016 {
00017   namespace parse
00018   {
00023 
00024     class PorterStemmer : public lemur::api::Stemmer {
00025     private:
00026       indri::parse::Porter_Stemmer *stemmer;
00027     public:
00028       static const string identifier;
00029 
00030       PorterStemmer();
00031       ~PorterStemmer();
00032 
00034       char * stemWord(char * word);
00035 
00036     };
00037   }
00038 }
00039 
00040 #endif

Generated on Tue Jun 15 11:02:55 2010 for Lemur by doxygen 1.3.4