lemma belongs to a class More...
#include <dep_rules.h>
Public Member Functions | |
check_wordclass (const std::string &, const std::string &) | |
bool | eval (dep_tree::iterator) const |
eval whether a single node matches a condition only called from check if needed. | |
Static Public Attributes | |
static std::set< std::string > | wordclasses |
lemma belongs to a class
check_wordclass::check_wordclass | ( | const std::string & | , | |
const std::string & | ||||
) |
bool check_wordclass::eval | ( | dep_tree::iterator | n | ) | const [virtual] |
eval whether a single node matches a condition only called from check if needed.
The abstract class version should never be reached.
Reimplemented from rule_expression.
References rule_expression::node, TRACE, rule_expression::valueList, and wordclasses.
set< string > check_wordclass::wordclasses [static] |
Referenced by eval().