Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TokenizerFactory.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2003-2005 University of Massachusetts.  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 
00012 //
00013 // TokenizerFactory
00014 //
00015 // 15 September 2005 -- mwb
00016 //
00017 
00018 #ifndef INDRI_TOKENIZERFACTORY_HPP
00019 #define INDRI_TOKENIZERFACTORY_HPP
00020 
00021 #include <string>
00022 #include <map>
00023 
00024 #include "indri/IndriTokenizer.hpp"
00025 
00026 namespace indri {
00027   namespace parse {
00028     
00029     class TokenizerFactory {
00030     public:
00031       ~TokenizerFactory();
00032 
00033       static std::string preferredName( const std::string& name );
00034       static indri::parse::Tokenizer* get( const std::string& name );
00035 
00036     };
00037   }
00038 }
00039 
00040 #endif // INDRI_TOKENIZERFACTORY_HPP
00041 

Generated on Tue Jun 15 11:02:56 2010 for Lemur by doxygen 1.3.4