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

ArabicParser Class Reference

#include <ArabicParser.hpp>

Inheritance diagram for ArabicParser:

Parser TextHandler List of all members.

Public Methods

 ArabicParser ()
void parseFile (char *filename)
 Parse a file.

void parseBuffer (char *buf, int len)
 Parse a buffer of len length.

long fileTell ()

Private Methods

void doParse ()
 Actual parsing action flow.


Private Attributes

int state
 The state of the parser.


Detailed Description

Parses arabic documents in NIST's TREC format, windows CP1256 encoding.

The following fields are parsed: TEXT, HL, HEAD, HEADLINE, LP, TTL, HEADER, FOOTER.


Constructor & Destructor Documentation

ArabicParser::ArabicParser  
 


Member Function Documentation

void ArabicParser::doParse   [private]
 

Actual parsing action flow.

long ArabicParser::fileTell   [virtual]
 

Gives current byte position offset into file being parsed. Don't use with parseBuffer

Implements Parser.

void ArabicParser::parseBuffer char *    buf,
int    len
[virtual]
 

Parse a buffer of len length.

Implements Parser.

void ArabicParser::parseFile char *    filename [virtual]
 

Parse a file.

Implements Parser.


Member Data Documentation

int ArabicParser::state [private]
 

The state of the parser.


The documentation for this class was generated from the following file:
Generated on Fri Feb 6 07:11:57 2004 for LEMUR by doxygen1.2.16