|
Natural Language Processing
0.1.0
|
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< GPlist > | getDefinition (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< GPlist > | getDefinition (const GrammarPhrase &define) |
| GrammarPhrase | getDefiner (const GPlist &rule) |
1.8.6