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

ReutersParser Class Reference

Parses documents in TREC format. Does case folding for words that are not in the acronym list. Contraction suffixes and possessive suffixes are stripped. U.S.A., USA's, and USAs are converted to USA. Does not recognize acronyms with numbers. The following fields are parsed: text, headline, title. More...

#include <ReutersParser.hpp>

Inheritance diagram for ReutersParser:

Parser TextHandler List of all members.

Public Methods

 ReutersParser ()
void parse (char *filename)
 Parse a file.


Detailed Description

Parses documents in TREC format. Does case folding for words that are not in the acronym list. Contraction suffixes and possessive suffixes are stripped. U.S.A., USA's, and USAs are converted to USA. Does not recognize acronyms with numbers. The following fields are parsed: text, headline, title.


Constructor & Destructor Documentation

ReutersParser::ReutersParser ( )
 


Member Function Documentation

void ReutersParser::parse ( char * filename ) [virtual]
 

Parse a file.

Reimplemented from Parser.


The documentation for this class was generated from the following file:
Generated at Fri Jul 26 18:22:56 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000