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 00012 #ifndef _LEMURMEMPARSER_HPP 00013 #define _LEMURMEMPARSER_HPP 00014 00015 #include "MemParser.hpp" 00016 #include "Index.hpp" 00017 namespace lemur 00018 { 00019 namespace distrib 00020 { 00021 00026 class LemurMemParser : public MemParser { 00027 00028 public: 00029 LemurMemParser(const lemur::api::Index * ind); 00030 00032 void parse (doc_t * doc); 00033 00034 private: 00035 const lemur::api::Index * index; 00036 00037 }; 00038 } 00039 } 00040 00041 #endif