Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

BOSS Client (preproc)


Classes

class  BOSS_Client
 Client is a user interface to the boss server capabilities. It provides text parsing and tokenization. More...

class  ClientXMLDocument
 Simple XML Document wrapper class for use in BOSS_Client. More...

class  InputScanner
class  PreprocScanner
 The PreprocScanner class is an implementation of the InputScanner for the BOSS client. It is a wrapper class to the functions of the preproc library and uses the code from preproc main() function. More...


Defines

#define TOKEN_WORD   0
#define TOKEN_PHRASE_DELIMITER   1
#define TOKEN_SENTENCE_DELIMITER   2

Typedefs

typedef pair< int, string > Token
typedef vector< TokenPhrase
typedef vector< PhrasePhrases

Functions

int main (int argc, char **argv)
string getDate ()
 Returns date.

virtual void BOSS_Client::run ()
void BOSS_Client::processToken (Token &token, Phrases &phrases)
 ClientXMLDocument::ClientXMLDocument (BOSS::CommandLine &config, const Phrases &phrases)
 ClientXMLDocument constructor creates an XML document header and root element and puts them in the output string stream.

void ClientXMLDocument::phraseToXML (const Phrase &phrase)
 PreprocScanner::PreprocScanner (const char *rulefilename, const char *abbfilename, const char *infilename)
 PreprocScanner::~PreprocScanner ()
Token PreprocScanner::getToken ()
void PreprocScanner::checkRulesDefinition (char *xinput, int g)
void PreprocScanner::checkAbbrevDefinition (char *xinput, int g)
bool PreprocScanner::scan ()

Define Documentation

#define TOKEN_PHRASE_DELIMITER   1
 

#define TOKEN_SENTENCE_DELIMITER   2
 

#define TOKEN_WORD   0
 


Typedef Documentation

typedef vector<Token> Phrase
 

typedef vector<Phrase> Phrases
 

typedef pair<int, string> Token
 


Function Documentation

void PreprocScanner::checkAbbrevDefinition char *  xinput,
int  g
[protected, inherited]
 

void PreprocScanner::checkRulesDefinition char *  xinput,
int  g
[protected, inherited]
 

ClientXMLDocument::ClientXMLDocument BOSS::CommandLine config,
const Phrases phrases
[inherited]
 

ClientXMLDocument constructor creates an XML document header and root element and puts them in the output string stream.

string getDate  ) 
 

Returns date.

Returns:
formated date string

Token PreprocScanner::getToken  )  [virtual, inherited]
 

Implements InputScanner.

int main int  argc,
char **  argv
 

void ClientXMLDocument::phraseToXML const Phrase phrase  )  [protected, inherited]
 

PreprocScanner::PreprocScanner const char *  rulefilename,
const char *  abbfilename,
const char *  infilename
[inherited]
 

void BOSS_Client::processToken Token token,
Phrases phrases
[private, inherited]
 

void BOSS_Client::run  )  [virtual, inherited]
 

bool PreprocScanner::scan  )  [virtual, inherited]
 

Implements InputScanner.

PreprocScanner::~PreprocScanner  )  [inherited]
 


Generated on Tue Dec 20 23:14:41 2005 for BOSS by doxygen 1.3.6