dep_txala Class Reference

dependencyMaker is a class for obtaining a dependency tree from chunks. More...

#include <dependencies.h>

Inheritance diagram for dep_txala:
Inheritance graph
[legend]
Collaboration diagram for dep_txala:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 dep_txala (const std::string &, const std::string &)
 constructor
void analyze (std::list< sentence > &)
 Enrich all sentences in given list with a depenceny tree.
std::list< sentence > analyze (const std::list< sentence > &)
 Enrich all sentences in given list, return a copy.

Private Member Functions

dep_tree * dependencies (parse_tree::iterator, parse_tree::iterator)
 compute dependency tree

Private Attributes

completer comp
 tree completer
depLabeler labeler
 dependency labeler
std::string start

Detailed Description

dependencyMaker is a class for obtaining a dependency tree from chunks.

this implementation uses two subclasses: completer: to complete the chunk analysis in a full parse tree depLabeler: to set the labels once the class has build a dependency tree


Constructor & Destructor Documentation

dep_txala::dep_txala ( const std::string &  ,
const std::string &   
)

constructor


Member Function Documentation

std::list<sentence> dep_txala::analyze ( const std::list< sentence > &   )  [virtual]

Enrich all sentences in given list, return a copy.

Implements dependency_parser.

void dep_txala::analyze ( std::list< sentence > &   )  [virtual]

Enrich all sentences in given list with a depenceny tree.

Implements dependency_parser.

dep_tree * dep_txala::dependencies ( parse_tree::iterator  tr,
parse_tree::iterator  link 
) [private]

compute dependency tree

Obtain a depencendy tree from a parse tree.

References WARNING.


Member Data Documentation

tree completer

dependency labeler

std::string dep_txala::start [private]

The documentation for this class was generated from the following files:
Generated on Tue Jul 27 16:29:32 2010 for FreeLing by  doxygen 1.6.3