FreeLing  3.1
Public Member Functions | Private Member Functions | Private Attributes
freeling::dep_txala Class Reference

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

#include <dependencies.h>

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

List of all members.

Public Member Functions

 dep_txala (const std::wstring &, const std::wstring &)
 constructor
void analyze (sentence &) const
 analyze given sentences

Private Member Functions

dep_treedependencies (parse_tree::iterator, parse_tree::iterator) const
 compute dependency tree

Private Attributes

completer comp
 tree completer
depLabeler labeler
 dependency labeler
std::wstring 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

freeling::dep_txala::dep_txala ( const std::wstring &  ,
const std::wstring &   
)

constructor

constructor.

Load a dependecy rule file.


Member Function Documentation

void freeling::dep_txala::analyze ( sentence s) const [virtual]

compute dependency tree

Obtain a depencendy tree from a parse tree.

References freeling::tree< T >::hang_child(), freeling::tree< T >::info, freeling::node::set_chunk(), freeling::depnode::set_link(), and WARNING.

Referenced by analyze().


Member Data Documentation

tree completer

Referenced by analyze().

dependency labeler

Referenced by analyze().

std::wstring freeling::dep_txala::start [private]

Referenced by analyze().


The documentation for this class was generated from the following files: