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

MemParser.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 
00012 #ifndef _MEMPARSER_HPP
00013 #define _MEMPARSER_HPP
00014 
00015 #include "TextHandler.hpp"
00016 
00018 typedef string docid_t;
00019 
00022 typedef struct doct {  
00023   char * doc;
00024   int len;
00025   docid_t id;
00026 } doc_t;
00027 
00028 
00033 class MemParser : public TextHandler {
00034  
00035 public:
00036  
00039   virtual void parse (doc_t * doc) = 0;
00040   
00041 };
00042 
00043 #endif

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