Hi, I think there is something wrong with the part of the
program (I think it is the responder) that handles the
<person/> tag.
This is an example of a conversation where you can see
the bug:
<i>Bot:</i> Humans are not always infallible.
<i>User:</i> In fact, I would say they are never infallible.
<i>Bot:</i> Is that a fact. never infallible would say
they are never infallible are never infallible would say
they are never infallible are never infallible would say
they are never infallible are never infallible would say
they are never infallible .
<i>User:</i> Ok , that looks like a bug to me.
<i>Bot:</i> "never infallible would say they are never
infallible are never infallible would say they are never
infallible are never infallible would say they are never
infallible are never infallible would say they are never
infallible" looks like a bug to him or her ? Makes sense to
me. Gee.
<i>User:</i> Fool
This is the AIML that handles the bot's second reply:
<category>
<pattern>THEY ARE *</pattern>
<template><person/> are <set
name="they"><person/></set>.</template>
</category>
I know it's not a very smart reply (although it's part of
Dr Wallace's famous AIML set), but I think the problem
comes from the fact that the <person/> tag is used.
Although I don't have them at hand, I know the problem
happens in other situations where the <person/> tag is
used.
Logged In: YES
user_id=956883
The AIML that handles the bot's second reply should read:
<category>
<pattern>THEY ARE
*</pattern>
<template><person/> are
<set
name="they"><person/></set>.</template>
</category>
Logged In: YES
user_id=956883
Changed line 143 to:
$newword=fastforward($word,&$ffremains);
Changed line 250 to:
$newword=fastforward($word,&$ffremains);
Problem solved.