|
Natural Language Processing
0.1.0
|
The OntologyDatabase class The class acts as the interface that allows communication with database. class will be used by higher process that handles the sqlite query generation from a structure of SyntaxTree. More...
#include <OntologyDatabase.h>
Public Member Functions | |
| OntologyDatabase () | |
| lower function More... | |
| void | InsertionQuery (const string &qrStr) |
| OntologyDatabase::InsertionQuery Given a string that is a valid SQLite form The function will proceed with insertion to database. More... | |
| void | QuestionQuery (const string &qrStr, string &result) |
| QuestionQuery. More... | |
| ~OntologyDatabase () | |
| Upper function. More... | |
The OntologyDatabase class The class acts as the interface that allows communication with database. class will be used by higher process that handles the sqlite query generation from a structure of SyntaxTree.
| OntologyDatabase::OntologyDatabase | ( | ) |
lower function
OntologyDatabase::OntologyDatabase constructor to open connections to database.
| OntologyDatabase::~OntologyDatabase | ( | ) |
Upper function.
Destructor.
| void OntologyDatabase::InsertionQuery | ( | const string & | qrStr | ) |
OntologyDatabase::InsertionQuery Given a string that is a valid SQLite form The function will proceed with insertion to database.
| qrStr |
| void OntologyDatabase::QuestionQuery | ( | const string & | qrStr, |
| string & | result | ||
| ) |
QuestionQuery.
| qrStr | : query commands |
| result | : replyUpper function |
TODO : Make result neater
Slice last ", "
1.8.6