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

lemma belongs to a class More...

#include <dep_rules.h>

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

List of all members.

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

Detailed Description

lemma belongs to a class


Constructor & Destructor Documentation

freeling::check_wordclass::check_wordclass ( const std::wstring &  ,
const std::wstring &  ,
const std::set< std::wstring > *   
)

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 set2wstring, TRACE, freeling::rule_expression::valueList, and wordclasses.


Member Data Documentation

const std::set<std::wstring>* freeling::check_wordclass::wordclasses [private]

Referenced by eval().


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