Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

constraint_grammar Class Reference

Class constraint_grammar implements a pseudo CG, ready to be used from a relax PoS tagger. More...

#include <constraint_grammar.h>

Inheritance diagram for constraint_grammar:

Inheritance graph
[legend]
Collaboration diagram for constraint_grammar:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 constraint_grammar (const string &)
 Create a grammar loading it from a file.
void get_rules_head (const string &, list< ruleCG > &) const
 add to the given list all rules with a head starting with the given string

Detailed Description

Class constraint_grammar implements a pseudo CG, ready to be used from a relax PoS tagger.


Constructor & Destructor Documentation

constraint_grammar::constraint_grammar const string &   ) 
 

Create a grammar loading it from a file.


Member Function Documentation

void constraint_grammar::get_rules_head const string &  ,
list< ruleCG > & 
const
 

add to the given list all rules with a head starting with the given string


The documentation for this class was generated from the following file:
Generated on Wed Apr 26 12:57:48 2006 for FreeLing by  doxygen 1.4.4