Natural Language Processing  0.1.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
CFGQ Class Reference
Inheritance diagram for CFGQ:
Grammar Grammar

Public Member Functions

 CFGQ ()
 CFGQ::CFGQ Constructor.
 
- 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)
 

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