00001 00024 #ifndef XAPIAN_INCLUDED_STEM_H 00025 #define XAPIAN_INCLUDED_STEM_H 00026 00027 #include <string> 00028 00029 namespace Xapian { 00030 00032 class Stem { 00033 public: 00034 class Internal; 00036 Internal *internal; 00037 00048 explicit Stem(const std::string &language); 00049 00051 ~Stem(); 00052 00054 Stem(const Stem &); 00055 00057 void operator=(const Stem &); 00058 00064 std::string stem_word(const std::string &word) const; 00065 00070 static std::string get_available_languages(); 00071 00076 std::string get_description() const; 00077 }; 00078 00079 } 00080 00081 #endif