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

WebParser.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.cs.cmu.edu/~lemur/license.html
00008  *
00009  *==========================================================================
00010 */
00011 
00012 #include "Parser.hpp"
00013 #include "TextHandler.hpp"
00014 
00015 #ifndef _WEBPARSER_HPP
00016 #define _WEBPARSER_HPP
00017 
00030 
00031 // Source code in webparser.lex
00032 
00033 class WebParser : public Parser {
00034 
00035 public:
00036   WebParser();
00037 
00039   void parseFile(char * filename);
00040   
00041   void parseBuffer(char * buf, int len);
00042  
00043   long fileTell();
00044 
00045 private:
00047   void doParse();
00048 
00050   int state;
00051 
00052 };
00053 
00054 #endif

Generated on Mon Sep 30 14:13:24 2002 for LEMUR by doxygen1.2.18