DeSR Dependency Parser

Parser::Parser Struct Reference

Base class for parsers. More...

#include <Parser.h>

Inheritance diagram for Parser::Parser:

Inheritance graph
Collaboration diagram for Parser::Parser:

Collaboration graph
List of all members.

Public Member Functions

virtual void train (char const *modelFile, SLREventStream &eventStream)=0
virtual void parse (char const *modelFile, SentenceReader *sentenceReader)=0
virtual void revise (char const *modelOrActFile, SentenceReader *sentenceReader)
 Produce a revision of a document parses, using either a model or an action file.

Static Public Attributes

static IXE::conf< bool > verbose
 Control output.
static IXE::conf< bool > Cheat
 Simulate correct behavior.

Detailed Description

Base class for parsers.

Definition at line 40 of file Parser.h.


Member Function Documentation

virtual void Parser::Parser::revise ( char const *  modelOrActFile,
SentenceReader sentenceReader 
) [inline, virtual]

Produce a revision of a document parses, using either a model or an action file.

If a model is supplied, the actions to perform revisions are determined using the model, otherwise a list of actions, supplied one per line, is performed on the parse trees.

Definition at line 51 of file Parser.h.


The documentation for this struct was generated from the following file:  
Copyright © 2005-2007 G. Attardi. Generated on 27 Jul 2007 by doxygen 1.5.2-2.