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

Stopper.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2001 Carnegie Mellon University.  All Rights Reserved.
00003  *
00004  * Use of the Lemur Toolkit for Language Modeling and Information Retrieval
00005  * is subject to the terms of the software license set forth in the LICENSE
00006  * file included with this software, and also available at
00007  * http://www.lemurproject.org/license.html
00008  *
00009  *==========================================================================
00010 */
00011 #include "TextHandler.hpp"
00012 #include "WordSet.hpp"
00013 
00014 #ifndef _STOPPER_HPP
00015 #define _STOPPER_HPP
00016 
00021 
00022 class Stopper : public WordSet, public TextHandler {
00023 
00024 public:
00025   static const string category;
00026   static const string identifier;
00027 
00028   Stopper();
00031   Stopper(const string &filename);
00032 
00034   bool stopWord(const char * word) const;
00035 
00036 
00040   char *  handleWord(char * word);
00041 
00042 
00043 };
00044 
00045 #endif

Generated on Wed Nov 3 12:59:04 2004 for Lemur Toolkit by doxygen1.2.18