FreeLing
3.1
|
lemma belongs to a class More...
#include <dep_rules.h>
Public Member Functions | |
check_wordclass (const std::wstring &, const std::wstring &, const std::set< std::wstring > *) | |
check_wordclass | |
bool | eval (dep_tree::iterator) const |
eval whether a single node matches a condition only called from check if needed. | |
Private Attributes | |
const std::set< std::wstring > * | wordclasses |
lemma belongs to a class
freeling::check_wordclass::check_wordclass | ( | const std::wstring & | , |
const std::wstring & | , | ||
const std::set< std::wstring > * | |||
) |
bool freeling::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 freeling::rule_expression.
References set2wstring, TRACE, freeling::rule_expression::valueList, and wordclasses.
const std::set<std::wstring>* freeling::check_wordclass::wordclasses [private] |
Referenced by eval().