[alicebot-archcomm] Multi-index <that/> (and <input/>)

Jonathan Roewen alicebot-archcomm@list.alicebot.org
Tue, 13 Jan 2004 13:37:56 +1300 (NZDT)


Hi All,

There is a problem with the AIML Specification in that
it does not state which sentence corresponds to which
value for the second index in a multi-indexed <that/>
or <input/>. It refers to section 8.3.1 I think, which
merely states some things about sentence splitting. No
reference or details is given to the actual numbering
of the sentences.

>From natural intuition, the second index, I would
think, should map to the first, second, third
sentences directly, and so on.

EG:

bot > sentence one. sentence two. sentence three.
user > testthat
bot > 1,1 = sentence one. 1,2 = sentence two. 1,3 =
sentence three

where AIML would be:

<template>
1,1 = <that index='1,1'/>. 1,2 = <that index='1,2'/>.
1,3 = <that index='1,3'/>.
</template>

According to the test files in the standard AIML set
(dev-testcases.aiml), which might be quite old, but
the only test examples I am currently aware of
(http://aiml.info was down at the time), state that it
is the reverse. <that index='1,1'/> refers to the last
sentence in the bot's output, <that index='1,2'/> the
second to last, and so forth.

But, because the standard does not state which order
is correct, it cannot be argued which is correct.

So, this needs fixing!

Jon =)

PS: Anybody know of any other valid test suites for
AIML correctness out there?

http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.