Tanl Linguistic Pipeline

Parser::ReviseContextStream Class Reference
[Dependency Parser]

Inheritance diagram for Parser::ReviseContextStream:
Parser::ReviseStream Tanl::Iterator< T >

List of all members.

Public Member Functions

 ReviseContextStream (SentenceReader *reader, WordIndex &predIndex)
bool hasNext ()
Tanl::Classifier::Contextnext ()
char const * Outcome ()
void revise ()
 Revise parse tree according to actions.

Constructor & Destructor Documentation

Parser::ReviseContextStream::ReviseContextStream ( SentenceReader reader,
WordIndex predIndex 
) [inline]
Parameters:
reader the reader used to read sentences
predIndex the mapping from predicates to PIDs from the model

Member Function Documentation

bool Parser::ReviseContextStream::hasNext (  )  [virtual]
Tanl::Classifier::Context * Parser::ReviseContextStream::next (  )  [virtual]
Returns:
the next item

Implements Tanl::Iterator< T >.

References Parser::ReviseStream::cur.

Referenced by Parser::ApParser::revise().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.