First of all, thanks for implementing a very well documented AIML interpreter. I'm currently developing my first MS Windows application that incorporates Program#, a 3D lipsync avatar from Haptek and voice recognition/synthesis modules.
I would just like to ask you a question regarding getting values from settings.xml.
I have a template in my AIML file:
<template>I am a <bot name="gender"/> <bot name="species"/> from <bot name="location"></template>
#Please note the single space between gender and species
When the template is called, the output is as follows:
I am a malehomo sapien from Earth.
I'm just wondering if it's normal that the 2 (gender and species) are not separated. Are we able to force them apart with a single space?
An advanced "thank you!" for taking time to answer my question!
Thanks for the positive comments and well spotted! Looks like there is a bug in the code when single words replace AIML elements. I'll take a look and post a fix for you when I find out more.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.