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

ParserFactory.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2003-2004 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 // ParserFactory
00014 //
00015 // 6 August 2004 -- tds
00016 //
00017 
00018 #ifndef INDRI_PARSERFACTORY_HPP
00019 #define INDRI_PARSERFACTORY_HPP
00020 
00021 #include <string>
00022 #include <map>
00023 #include <vector>
00024 #include "indri/IndriParser.hpp"
00025 
00026 class ParserFactory {
00027 public:
00028   ~ParserFactory();
00029 
00030   static std::string preferredName( const std::string& name );
00031   static indri::Parser* get( const std::string& name );
00032   static indri::Parser* get( const std::string& name,
00033                              const std::vector<std::string>& includeTags,
00034                              const std::vector<std::string>& excludeTags,
00035                              const std::vector<std::string>& indexTags,
00036                              const std::vector<std::string>& metadataTags,
00037                              const std::map<std::string, std::string>& conflations );
00038 };
00039 
00040 #endif // INDRI_PARSERFACTORY_HPP
00041 

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