Question about Values from settings.xml

cloudie
2008-02-05
2013-04-22
  • cloudie

    cloudie - 2008-02-05

    Hie,

    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!

    Cheers,
    Eddie

     
    • Nicholas Tollervey

      Eddie,

      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.

      Best wishes,

      Nicholas.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks