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

include/om/omstem.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 OM_HGUARD_OMSTEM_H
00027 #define OM_HGUARD_OMSTEM_H
00028 
00029 #include <string>
00030 
00032 class OmStem {
00033     public:
00034         class Internal;
00036         Internal *internal;
00037 
00039         OmStem();
00040 
00051         explicit OmStem(const std::string &language);
00052 
00054         ~OmStem();
00055 
00057         OmStem(const OmStem &);
00058 
00060         void operator=(const OmStem &);
00061 
00067         std::string stem_word(const std::string &word) const;
00068 
00073         static std::string get_available_languages();
00074 
00078         std::string get_description() const;
00079 };
00080 
00081 #endif

Documentation for Xapian (version 0.6.4).
Generated on 10 Apr 2003 by Doxygen 1.2.15.