[alicebot-archcomm] <pattern>'s having <bot> tags in them.

mehri foreverlinux at yahoo.com
Tue Oct 17 08:13:59 PDT 2006


Thanks Noel, that clears it up.

I had missed that part of the specification.  I definetly have a bug in my interpreter since it does not handle the bot element in the <pattern> tag.  I will fix that for the next release.



----- Original Message ----
From: Noel Bush <noel at aitools.org>
To: mehri <foreverlinux at yahoo.com>
Sent: Tuesday, October 17, 2006 5:43:03 AM
Subject: Re: <pattern>'s having <bot> tags in them.

(Please forward to the archcomm list for me....)

In the AIML spec, see 8.1.2 Mixed pattern expressions, and 8.1.6 
Pattern-side bot elements.

Noel

mehri wrote:
> I recieved a most interesting bug report today.
> 
> I found this piece of snippet someone was using:
> 
> <category>
> <pattern>CIAO <bot name="name"/></pattern>
> <template><srai>CIAO</srai></template>
> </category>
> 
> My
> xsd (which is from programD) allows the bot tag to be there when in the
> AIML specification 1.0.1, it says nowhere that <pattern> can have
> any tags inside of it at all.  My interpreter RebeccaAIML, effectively
> ignores that <bot> tag and it's treated exactly the same as if it
> was:
> 
> <category>
> <pattern>CIAO</pattern>
> <template><srai>CIAO</srai></template>
> </category>
> 
> Which
> is the reason why RebeccaAIML is reporting an infinite symbolic
> reduction.  Remove the above category and it should no longer
> misbehave.  
> 
> This is very interesting that bots are implementing this behavior.
> 
> It's more than just programD that has implemented this inner tag.  Other interpreters have also.  So, is that tag suppose to be there?  Did I miss it in the AIML spec?  I didn't see it anywhere mentioned.  Also, are there other tags that are allowed within <pattern> that I have missed?
> 
> 
> 
> 
> 







More information about the alicebot-archcomm mailing list