FreeLing  3.0
Public Member Functions | Public Attributes
ruleLabeler Class Reference

ruleLabeler is an auxiliary class for the depLabeler More...

#include <dep_rules.h>

Collaboration diagram for ruleLabeler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ruleLabeler (void)
 Constructor.
 ruleLabeler (const std::wstring &, rule_expression *)
bool check (dep_tree::iterator, dep_tree::iterator) const
 Evaluate rule conditions.

Public Attributes

std::wstring label
rule_expressionre
std::wstring ancestorLabel
int line
 line in the file where rule was, useful to trace and issue errors

Detailed Description

ruleLabeler is an auxiliary class for the depLabeler


Constructor & Destructor Documentation

Constructor.

ruleLabeler::ruleLabeler ( const std::wstring &  ,
rule_expression  
)

Member Function Documentation

bool ruleLabeler::check ( dep_tree::iterator  ancestor,
dep_tree::iterator  descendant 
) const

Evaluate rule conditions.

References rule_expression::check(), re, and TRACE.


Member Data Documentation

Referenced by depLabeler::depLabeler().

std::wstring ruleLabeler::label

Referenced by depLabeler::depLabeler().

line in the file where rule was, useful to trace and issue errors

Referenced by depLabeler::depLabeler().

Referenced by check(), and depLabeler::depLabeler().


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