FreeLing  3.0
Public Member Functions | Private Attributes
check_asynon Class Reference

lemma or any ancestor has given synonym More...

#include <dep_rules.h>

Inheritance diagram for check_asynon:
Inheritance graph
[legend]
Collaboration diagram for check_asynon:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 check_asynon (semanticDB &, const std::wstring &, const std::wstring &)
 check ancestor synonyms
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 or any ancestor has given synonym


Constructor & Destructor Documentation

check_asynon::check_asynon ( semanticDB ,
const std::wstring &  ,
const std::wstring &   
)

check ancestor synonyms


Member Function Documentation

bool check_asynon::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(), sense_info::parents, semdb, and sense_info::words.


Member Data Documentation

Referenced by eval().


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