Normalization Problem

View: New views
5 Messages — Rating Filter:   Alert me  

Normalization Problem

by sasK :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We have this problem with our bot not giving the answer we want him to give:
We tried to srai several patterns to another one, but only some of them return the answer, the others don't return anything.

Ex.:
<category>
<pattern>HELLO</pattern>
<template>Hello there</template>
</category>

<category>
<pattern>HI</pattern>
<template><srai>HELLO</srai></template>
</category>

<category>
<pattern>HOLA</pattern>
<template><srai>HELLO</srai></template>
</category>

--> so the Hi might work, but the Hola doesn't

There seems to be a problem with the normalization of the pattern, because it all works just fine if the input is all capitalized.

Does anyone know this problem, or better: the solution to it? You'd help us a lot!

Re: Normalization Problem

by Helio Perroni Filho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- sasK <sassyjan_20@...> escreveu:

> We have this problem with our bot not giving the
> answer we want him to give:
> We tried to srai several patterns to another one,
> but only some of them return the answer, the others
> don't return anything.
>
> (...)
>
> There seems to be a problem with the normalization
> of the pattern, because it all works just fine if
> the input is all capitalized.

>From your description this seems more likely to be a
bug in the AIML interpreter than a configuration
issue. At any rate, could you share your splitter /
substitution files, and a minimum AIML set that
reproduces the problem? (I would prefer if you
provided a link from which to download them, rather
than sending them through the list.)

--
Ja mata ne.
Helio Perroni Filho


__________________________________________________
Fale com seus amigos  de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/ 
_______________________________________________
This is the alicebot-general mailing list
Reply to alicebot-general@...
Unsubscribe and change preferences at http://list.alicebot.org/mailman/listinfo/alicebot-general
Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html
Learn to read at http://www.literacy.org/

Re: Normalization Problem

by sasK :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The files are now available at www.uni-hildesheim.de/~skep0043

This AIML-file reproduces the problem when requesting the answer to the category with the pattern 'Guten Tag'. The other categories work just fine. Hope you don't mind that the AIML is german.

I hope you can help!

Re: Normalization Problem

by Helio Perroni Filho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- sasK <sassyjan_20@...> escreveu:

> This AIML-file reproduces the problem when
> requesting the answer to the
> category with the pattern 'Guten Tag'. The other
> categories work just fine.
> Hope you don't mind that the AIML is german.

I tested your files and it worked correctly for me.
Anyway, it is a fairly straightforward use of the SRAI
tag, and I can only think of two failure causes for
it:

1- A second GUTEN TAG category appearing somewhere
else in the AIML set (something that doesn't happen on
your test set);

2- A bug in the AIML engine.

Perhaps you should contact the developer of your AIML
engine? I bet they can help you.

--
Ja mata ne.
Helio Perroni Filho


__________________________________________________
Fale com seus amigos  de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/ 
_______________________________________________
This is the alicebot-general mailing list
Reply to alicebot-general@...
Unsubscribe and change preferences at http://list.alicebot.org/mailman/listinfo/alicebot-general
Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html
Learn to read at http://www.literacy.org/

Re: Normalization Problem

by sasK :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for your help. The first solution you offered was our idea too, but there even when there was no other aiml-file the bot could learn from, we still had the same problem. So our next step is to try out the second solution you offered. Thanks again.
LightInTheBox - Buy quality products at wholesale price!