check_wordclass Class Reference

lemma belongs to a class More...

#include <dep_rules.h>

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

List of all members.

Public Member Functions

 check_wordclass (const std::string &, const std::string &)
bool eval (dep_tree::iterator) const
 eval whether a single node matches a condition only called from check if needed.

Static Public Attributes

static std::set< std::string > wordclasses

Detailed Description

lemma belongs to a class


Constructor & Destructor Documentation

check_wordclass::check_wordclass ( const std::string &  ,
const std::string &   
)

Member Function Documentation

bool 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 rule_expression.

References rule_expression::node, TRACE, rule_expression::valueList, and wordclasses.


Member Data Documentation

set< string > check_wordclass::wordclasses [static]

Referenced by eval().


The documentation for this class was generated from the following files:
Generated on Tue Jul 27 16:29:31 2010 for FreeLing by  doxygen 1.6.3