Thanks for posting the solution above Richard although I think the HTML formatting went a bit screwy in your reply. Just to clarify for anybody else stuck on this - there appear to two lines in src/graphnew.php which require changing... at line 212 and 319 it currently says:
which if changed to: $newword=fastforward($word,&$ffremains);
seems to fix pattern matching for multiple words in *.
I don't pretend to understand how this works, but I'm sure as hell enjoying creating AIML content for my bot to learn. Serious kudos to everybody involved in this project....
Sorry to cross-post in the forum as well as in the 'Bugs' page, but I've been banging my head against a brick wall trying to debug some odd responses, when I noticed something odd...
While the solution above seems to fix problems in categories containing only one <star />, I'm having problems with the following category:
<pattern>* VERY *</pattern>
<star index="1"/> <star index="2"/>
Which is creating the following dialogue:
User: I am very clever
Bot: Very clever am very clever
Anybody else come across this, or can help?!
I'm using 0.9, and I have the same problem. The '&' does nothing to help.
I followed your suggestion and It fixed the problem of repeating words on my bot.