|
FreeLing
3.0
|
ruleLabeler is an auxiliary class for the depLabeler More...
#include <dep_rules.h>

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_expression * | re |
| std::wstring | ancestorLabel |
| int | line |
| line in the file where rule was, useful to trace and issue errors | |
ruleLabeler is an auxiliary class for the depLabeler
| ruleLabeler::ruleLabeler | ( | void | ) |
Constructor.
| ruleLabeler::ruleLabeler | ( | const std::wstring & | , |
| rule_expression * | |||
| ) |
| bool ruleLabeler::check | ( | dep_tree::iterator | ancestor, |
| dep_tree::iterator | descendant | ||
| ) | const |
Evaluate rule conditions.
References rule_expression::check(), re, and TRACE.
| std::wstring ruleLabeler::ancestorLabel |
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().
1.7.6.1