AIML <that> tag usage issues

  • 4 Replies
  • 10211 Views
*

usg

  • Roomba
  • *
  • 1
AIML <that> tag usage issues
« on: August 26, 2010, 02:10:20 pm »
I have a problem with <that> tag.My code this like this:

<category>
<pattern>HELLO</pattern>
<template>
<random>
<li>Hello there, wellcome to counselling service</li>
<li>Hello there what is your name?</li>
</random></template>
</category>

<category>
<pattern>_ NAME IS *</pattern>
<that>HELLO THERE WHAT IS YOUR NAME</that>
<template>Nice to meet you<set name="name"><star index="2"/></set></template>
</category>
But it does not work that way.When I use the “My name is Rangi” input after the “Hello there what is your name?” robot
input.I checked the syntax with the AIML reference manual at:

http://www.alicebot.org/documentation/aiml-reference.html#that

and other source files which uses the <that> tag.But is does not work.The interpreter I am using to check my aiml files is the PROGRAME# at:

http://ntoll.org/article/project-an-aiml-chatterbot-in-c

it works with both text inside <that> tag and the <li> tag should be in block capital and this works only for four words.
But I need the bot outputs to be in normal text . I checked in the research paper(page no 6) at :
http://www.scribd.com/doc/32243318/A-Comparison-Between-ALICE-and-Elizabeth-Chatbot-Systems
also it says the previous bot output normalized in the same way as the user input, therefore it matches with the text in the <that> tag.

Why this happens this way??
Is there anything wrong in the code??
Is the text in the <that> tag works for only few words??
How can I use this in the correct way??

Any solutions??
.Thank you very much.

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6832
  • Mostly Harmless
Re: AIML <that> tag usage issues
« Reply #1 on: August 29, 2010, 12:18:18 pm »
Hi usg, welcome to the site.  It doesn't look like the AIML experts have popped in.

You could try the Knytetrypper forum for this kind of thing :

http://knytetrypper.proboards.com/

Hope you find a solution :)

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: AIML <that> tag usage issues
« Reply #2 on: August 29, 2010, 01:44:14 pm »
Good morning Umesha. :)

Actually, Freddy, I (and others) have been having this same discussion with usg over on a couple of other forums, notably chatbots.org and alicebot.org. I've been meaning to stop in here and redirect the question to one of the other forums, but never quite found the time. Also, having the exact same conversation in several different forums tends to get a little tedious, TBH. :)
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6832
  • Mostly Harmless
Re: AIML <that> tag usage issues
« Reply #3 on: August 30, 2010, 02:07:04 pm »
Ahh, okay no need to worry then, thanks..

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: AIML <that> tag usage issues
« Reply #4 on: August 30, 2010, 03:51:47 pm »
Nope. We have it well in hand.

But thanks. :D
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us