Tanl Linguistic Pipeline

Parser::ParseState Class Reference
[Dependency Parser]

Parse state. More...

#include <State.h>

Inheritance diagram for Parser::ParseState:
Parser::State Parser::Iterator< Tanl::Classifier::Context * >

List of all members.

Public Member Functions

 ParseState (Sentence &sent, GlobalInfo *globalInfo, WordIndex &predIndex)
 ParseState (ParseState &prev)
void prune ()
 Free the branch of derivation that lead to this state.
int incRef ()
int decRef ()
bool hasNext ()
Tanl::Classifier::Contextnext ()
ParseStatetransition (Action action)
 Perform action represented by string action.
TreeTokencopy (TreeToken *x)

Public Attributes

double lprob
 log probability

Protected Attributes

WordIndexpredIndex
Tanl::Classifier::Context context
int refCount
 how many alternatives refer to this

Detailed Description

Parse state.

Provides a stream of Tanl::Classifier::Context's from a Sentence.


Member Function Documentation

bool Parser::ParseState::hasNext (  ) 
Tanl::Classifier::Context * Parser::ParseState::next (  )  [virtual]
ParseState * Parser::ParseState::transition ( Action  action  ) 

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.