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