lemma has given top ontology class More...
#include <dep_rules.h>
Public Member Functions | |
check_tonto (semanticDB &, 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. | |
Private Attributes | |
semanticDB & | semdb |
lemma has given top ontology class
check_tonto::check_tonto | ( | semanticDB & | , | |
const std::string & | , | |||
const std::string & | ||||
) |
bool check_tonto::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::find_any(), semanticDB::get_sense_info(), semanticDB::get_word_senses(), rule_expression::node, semdb, sense_info::tonto, and TRACE.
semanticDB& check_tonto::semdb [private] |
Referenced by eval().