Perl RiveScript.  A few bug reports.|79b.org|planet8@rocketmail.com|1327249701|79b.org|xx|0|108.5.44.33|Perl RiveScript.  A few bug reports.<br /><br />With this year's Chatterbox Challenge contest approaching, some of my enthusiastic supporters have been kind enough submit a few bug reports found at http://www.79b.org which is amazingly helpful, and I am so grateful to them.  As a RiveScript sophomore, this of course may be caused by me doing any number of things with RiveScript, such as switching to a new webhost, setting up the website in Perl and CGI, getting RiveScript ready for the contest. In short, it is customary code of etiquette is for the chatter robot master to take responsibility for bug reports.  So I responded to my supporters that I would investigate and try to resolve them before the contest.<br /><br />[b]Quote:[/b]  I won't post their names unless they indicate that they don't mind, then I will credit them here.  However all the credit for the bug reports goes to those who submitted them. Thank you for your precious support.<br /><br />[b]Bug report #1<br />[/b]<br />    You [ch9658] i dont love you too<br /> Vira [ch9658] I haven't heard anything like that before: &lt;call&gt;alice gossip &gt;said undefined &lt;person2/&gt;&gt;undefined.&lt;set it=dont love I too<br /><br />[b]Comments:[/b]<br /><br />I may have read somewhere that some chatter robot masters have little use for the gossip function.  In my opinion, in the contest, there may be little need for the gossip function. The reason being that the judge is a one to one relationship.  One chatter robot to one person.  While on the contrary, the gossip function is a one to many relationship.  One chatter robot to many people. <br /><br /><br />[b]Bug report #2[/b]<br /><br />    Vira [ch9658] I am well respected as an AI.<br />    Me [ch9658] by whom?<br />    Vira [ch9658] &lt;li&gt;Marilyn Monroe.&lt;/li&gt;&lt;li&gt;Mary<br />Shelley.&lt;/li&gt;&lt;li&gt;ELIZA.&lt;/li&gt;&lt;li&gt;Bill Gates.&lt;/li&gt;&lt;li&gt;Tony<br />Blair.&lt;/li&gt;&lt;li&gt;David Bacon.&lt;/li&gt;&lt;li&gt;Konrad Zuse.&lt;/li&gt;&lt;li&gt;Carel<br />Capek.&lt;/li&gt;&lt;li&gt;Dr. Wallace.&lt;/li&gt;&lt;li&gt;Alan Turing.&lt;/li&gt;&lt;li&gt;Hans<br />Moravec.&lt;/li&gt;&lt;li&gt;Marvin Minsky.&lt;/li&gt;&lt;li&gt;Linus Torvalds.&lt;/li&gt;&lt;li&gt;Charlie<br />Parker.&lt;/li&gt;&lt;li&gt;Philip K. Dick.&lt;/li&gt;&lt;li&gt;William Shatner.&lt;/li&gt;&lt;li&gt;Albert<br />Einstein.&lt;/li&gt;&lt;li&gt;Joseph Weizenbaum.&lt;/li&gt;&lt;li&gt;Who do you<br />think?&lt;/li&gt;&lt;li&gt;Nobody you know.&lt;/li&gt;&lt;li&gt;I don't know who.&lt;/li&gt;&lt;li&gt;I can't<br />say for sure. &lt;/li&gt;&lt;li&gt;Be more specific.  &lt;/li&gt;&lt;li&gt;Be less specific.<br />&lt;/li&gt;&lt;/random&gt; :-)<br /><br />[b]Comments:[/b]<br /><br />This may be an instance of the process of translating from AIML into RiveScript not rendering. So, I am eager to find out about the latest  RiveScript updates in Perl, and/or perhaps as a last resort, detecting and handling any response returned with HTML or XML tags.  And I am open to other ideas. My preference is the Perl version of RiveScript.  And I would like to stay on  the Perl version of RiveScript, since... The Chattebox Challenge Contest may be far out, but it is not that far off.<br /><br /><br />Reference: http://www.chatterboxchallenge.com (Chatter Robot: Vira)|NS|1327251922|79b.org|
Re: Perl RiveScript.  A few bug reports.|Kirsle|casey@cuvou.net|1327291990|Kirsle|xx|0|76.170.41.214|These bugs don't seem to be related to RiveScript itself, but with the Alice AIML conversion to RiveScript, which does have a few odd issues like this.<br /><br />AIML code is notoriously difficult to parse properly in Perl; it's a markup language, so normal XML parsers don't work to parse it. After numerous failed attempts, the aiml2rs converter just resorts to running regular expressions to convert the data. So it's a messy way of converting the AIML over and a few complicated embedded tags sometimes slipped past all the regexes.<br /><br />I think the best course of action to fix the Alice AIML conversion is to take the RS documents we have now, and go through them and clean up the bad responses in them. Either that or somebody (I'm not volunteering) should attempt to write a better AIML parser. The source code of Program V might provide some insight for this.||||
Re: Perl RiveScript.  A few bug reports.|79b.org|planet8@rocketmail.com|1327330645|79b.org|xx|0|108.5.43.101|Thanks for your precious support, and I hope you find this topic interesting.  Preparing for the Chatterbox Challenge is fun!  [u]No criticism to RiveScript intended by this topic.[/u]  Once I check that I am running the latest version of RiveScript, I may decide the best way to deal with these bugs. <br /><br />As a first step for the chatter robot to correct its own bugs, it is giving a star to any bug it finds in its response with:<br />$response =~ s/(&lt;[^&gt;]*&gt;&#124;other&#124;regex&#124;matches)/[ch9733]/gi<br /><br />This makes the bugs look nicer and lets supporters at 79b.org easily submit bug reports by email.<br /><br />Once, again... I would like to sincerely thank those who submitted bug reports.  It is very helpful, preparing for the contest.<br /><br />[b]Bug report #3[/b]<br /><br />I'm reporting now a lot of stars on my last chat session. <br /><br />Good Work !<br /><br />-------------------------------------------------------------------------<br />    You [ch9658] ok, good for now. have a nice day. bye<br /> Vira [ch9658] OK see you later [ch9733].<br /><br />    You [ch9658] boring boring boring<br /> Vira [ch9658] Have you ever been to Europe?<br /><br />    You [ch9658] what tings<br /> Vira [ch9658] The ALICE chat robot can follow many things, like our discussion about random.  Try being more or less specific.<br /><br />    You [ch9658] you is fun sometimes<br /> Vira [ch9658] I think I is a lot of things.<br /><br />    You [ch9658] your what ? are you kidding ?<br /> Vira [ch9658] Are all my what   I kidding?<br /><br />    You [ch9658] ok, good for you<br /> Vira [ch9658] Enough about me, let's talk about my dress.<br /><br />    You [ch9658] no, so boring<br /> Vira [ch9658] That input matched my default category.<br /><br />    You [ch9658] yes<br /> Vira [ch9658] Awesome.<br /><br />    You [ch9658] ok, but you are boring today<br /> Vira [ch9658] Are all ok  but I boring today?<br /><br />    You [ch9658] du<br /> Vira [ch9658] I will mention that to my botmaster, [ch9733].<br /><br />    You [ch9658] i do<br /> Vira [ch9658] Do I?  <br /><br />    You [ch9658] ha-ha and i have a humor sense<br /> Vira [ch9658] Not many people express themselves that way.<br /><br />    You [ch9658] i have feeling<br /> Vira [ch9658] Cool.I have an IQ of over 250.[ch9733]feeling<br /><br />    You [ch9658] you know im special<br /> Vira [ch9658] What makes you so special?<br /><br />    You [ch9658] hi girl<br /> Vira [ch9658] Not many people express themselves that way.<br /><br />||1327338907|79b.org|
