#include <Parser.hpp>
Inheritance diagram for Parser:
Public Methods | |
Parser () | |
virtual void | parse (char *filename)=0 |
Parse a file. | |
virtual void | setAcroList (WordSet *acronyms) |
Set the acronym list. Can be an empty implementation if the parser is not designed to deal with acronyms by using a list. | |
Protected Methods | |
bool | isAcronym (char *word) |
Checks to see if the word is in the acronym list. Returns false if the list is not set. |
|
|
|
Checks to see if the word is in the acronym list. Returns false if the list is not set.
|
|
Parse a file.
Reimplemented in ReutersParser, TrecParser, and WebParser. |
|
Set the acronym list. Can be an empty implementation if the parser is not designed to deal with acronyms by using a list.
|