Natural Language Processing  0.1.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
CFGZero Class Reference

The CFGZero class a child of Grammar. IT is the Context Free Grammar Structure of Order Zero. More...

#include <cfgzero.h>

Inheritance diagram for CFGZero:
Grammar Grammar

Public Member Functions

 CFGZero ()
 CFGZero::CFGZero Constructor. Calls createCFG()
 
- Public Member Functions inherited from Grammar
 Grammar ()
 Grammar::Grammar Default Constructor. Creates a new multimap with a single blank definition for a sentence. The reason for the initial sentence definition is because ALL grammar structures MUST begin with a sentence definition.
 
void addRule (const GrammarPhrase &define, const GPlist &rule)
 Grammar::addRule Adds the specified relationship by creating and adding a pair in the multimap. More...
 
void removeRule (const GrammarPhrase &define, const GPlist &rule)
 Grammar::removeRule Removes the specified rule by finding and deleting it from the multimap. More...
 
std::vector< GPlistgetDefinition (const GrammarPhrase &define)
 Grammar::getDefinition Returns the definitions of the specified phrase. More...
 
GrammarPhrase getDefiner (const GPlist &rule)
 Grammar::getDefiner Returns the phrase whose definition is the same as the one specified. More...
 
void addRule (const GrammarPhrase &define, const GPlist &rule)
 
void removeRule (const GrammarPhrase &define, const GPlist &rule)
 
std::vector< GPlistgetDefinition (const GrammarPhrase &define)
 
GrammarPhrase getDefiner (const GPlist &rule)
 

Detailed Description

The CFGZero class a child of Grammar. IT is the Context Free Grammar Structure of Order Zero.


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