#include <Parser.h>
◆ Parser()
Parser::Parser |
( |
TiCC::LogStream * |
errlog, |
|
|
TiCC::LogStream * |
dbglog |
|
) |
| |
|
inlineexplicit |
◆ ~Parser()
◆ add_provenance()
void Parser::add_provenance |
( |
folia::Document & |
doc, |
|
|
folia::processor * |
main |
|
) |
| const |
|
virtual |
add provenance information to the FoLiA document
- Parameters
-
doc | the foLiA document we are working on |
main | the main processor (presumably Frog) we want to add a new one to |
Implements ParserBase.
◆ init()
bool Parser::init |
( |
const TiCC::Configuration & |
configuration | ) |
|
|
virtual |
initialize a Parser from the configuration
- Parameters
-
configuration | the config to use |
- Returns
- true on succes extract all needed information from the configuration and setup the parser by creating 3 Timbl instances
Implements ParserBase.
◆ Parse()
Run the Parser on 1 frog_data structure
- Parameters
-
This function will run 3 Timbl's in parallel to get its information which is the handled to the 'real' parsing CSIDP process
Implements ParserBase.
◆ prepareParse()
setup the parser for action
- Parameters
-
fd | the frog_data structure with the needed information |
- Returns
- a parseData structure for further processing
The documentation for this class was generated from the following files: