Respond functions
Second layer functions that are prior to entering the AIML match routine.
The general preferences and database details.
The file containing the function that process custom, non AIML 1.0.x specified, tags.
A collection of generally useful utility functions
The matching engine functions of the AIML interpreter.
Handles the actual XML between the <template/> tags.
Recognises the different tags, access the different functions to process each individual tag. Notes by the original developer:
Why isn't this a huge switch statement? Because it has to do more comlicated checking than just string comparison to figure out what it should do.
How can I organize this better? Good question.
Get the real XML child
Get the real XML child which is used for processing AIML tags that may contain other AIML tags, such as SRAI, CONDITION etc.
Third level response processing
This function is the 'manager' function of the template processing.
Main container function in creating the bot's reply.
This function is the 'manager' of all the sub-funtions that do the real processing. It creates a class called Response that is used throughout the application.
Start function for retrieving bot reply
Checks to see if bot exists, if so calls reply() to get the repons to the user's input.
This is the second level response function.
After reply() this function is the second level function to get the answer to the user's input.
The sentence to be matched.
#return string The response to the user's input.
Documentation generated on Wed, 12 Jan 2005 12:24:47 +0100 by phpDocumentor 1.3.0RC3