FreeLing  3.1
Public Member Functions | Private Attributes
freeling::check_tonto Class Reference

lemma has given top ontology class More...

#include <dep_rules.h>

Inheritance diagram for freeling::check_tonto:
Inheritance graph
[legend]
Collaboration diagram for freeling::check_tonto:
Collaboration graph
[legend]

List of all members.

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

semanticDBsemdb

Detailed Description

lemma has given top ontology class


Constructor & Destructor Documentation

freeling::check_tonto::check_tonto ( semanticDB ,
const std::wstring &  ,
const std::wstring &   
)

check top-ontology


Member Function Documentation

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.


Member Data Documentation

Referenced by eval().


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