00001 00004 /* ----START-LICENCE---- 00005 * Copyright 1999,2000,2001 BrightStation PLC 00006 * Copyright 2002 Ananova Ltd 00007 * Copyright 2002 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 00048 explicit OmStem(const std::string &language); 00049 00051 ~OmStem(); 00052 00054 OmStem(const OmStem &); 00055 00057 void operator=(const OmStem &); 00058 00064 std::string stem_word(const std::string &word) const; 00065 00070 static std::string get_available_languages(); 00071 00075 std::string get_description() const; 00076 }; 00077 00078 #endif