Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/xapian/stem.h

Go to the documentation of this file.
00001 
00004 /* ----START-LICENCE----
00005  * Copyright 1999,2000,2001 BrightStation PLC
00006  * Copyright 2002 Ananova Ltd
00007  * Copyright 2002,2003 Olly Betts
00008  *
00009  * This program is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU General Public License as
00011  * published by the Free Software Foundation; either version 2 of the
00012  * License, or (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00022  * USA
00023  * -----END-LICENCE-----
00024  */
00025 
00026 #ifndef XAPIAN_INCLUDED_STEM_H
00027 #define XAPIAN_INCLUDED_STEM_H
00028 
00029 #include <string>
00030 
00031 #include <xapian/base.h>
00032 
00033 namespace Xapian {
00035 class Stem {
00036     public:
00037         class Internal;
00039         Xapian::Internal::RefCntPtr<Internal> internal;
00040 
00042         Stem();
00043 
00054         explicit Stem(const std::string &language);
00055 
00057         ~Stem();
00058 
00060         Stem(const Stem &);
00061 
00063         void operator=(const Stem &);
00064 
00070         std::string stem_word(const std::string &word) const;
00071 
00076         static std::string get_available_languages();
00077 
00081         std::string get_description() const;
00082 };
00083 
00084 }
00085 
00086 #endif

Documentation for Xapian (version 0.8.1).
Generated on 30 Jun 2004 by Doxygen 1.2.15.