Tanl Linguistic Pipeline

Tanl::Sentence Class Reference
[Dependency Parser]

List of all members.

Public Member Functions

 Sentence (Language const *language=0)
 Sentence (Sentence const &other)
bool operator== (const Sentence &other)
bool operator!= (const Sentence &other)
void reverse ()
 Reverse the sequence of tokens and update links accordingly.
std::ostream & print (std::ostream &os, Corpus const &corpus)
TreeTokenparent (TreeToken *tok)
TreeTokenroot (TreeToken *tok)
TreeTokenchild (TreeToken *tok, char dir, char POS)
TreeTokenchild (TreeToken *tok, int nth)
 Child relative position: -1 closest left -i i-th closest left INT_MIN farthest left +1 closest right +i i-th closest right INT_MAX farthest right.
TreeTokenleftChild (TreeToken *tok)
TreeTokenrightChild (TreeToken *tok)

Public Attributes

Language const * language

Member Function Documentation

void Tanl::Sentence::reverse (  )  [inline]

Reverse the sequence of tokens and update links accordingly.

Referenced by Parser::State::State().


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.