[alicebot-style] alicebot-style Digest, Vol 7, Issue 1
Anne Kootstra
anne at aiml.info
Mon Feb 5 00:18:19 PST 2007
Though it is indeed not possible to have a topic inside a topic, it is
possible to have mulitple word topics and topic variables:
for example:
<topic name="foo *">
<category>
<pattern>MANY THINGS</pattern>
<template>FOO</template>
</category>
</topic>
<topic name="foo bar">
<category>
<pattern>MANY THINGS</pattern>
<template>BAR</template>
</category>
</topic>
<topic name="foo rab">
<category>
<pattern>MANY THINGS</pattern>
<template>BAR</template>
</category>
</topic>
In this case the string "Many things" will be matched by the same category
when the active topic is "foo bar" or "foo rab". Adding the following
category will also activate "many things" for when "foo" is the active
topic.
<topic name="foo">
<category>
<pattern>*</pattern>
<template>
<think><set name="topic">foo default</set></think>
<srai><star index="1"/></srai>
</template>
</category>
</topic>
I trust that this will be what you are looking for.
Regards,
Anne.
----- Original Message -----
From: Chris Fellows
To: AIML Style Mailing List
Sent: Monday, February 05, 2007 2:58 AM
Subject: Re: [alicebot-style] alicebot-style Digest, Vol 7, Issue 1
Gottcha.
So what is the advantage of AIML? (Certainly there are some obvious
advantages, but I'm interested in your opinion).
(For others again apologies for the cross posting. Seems like alicebot-style
is as good as any place for this thread).
----- Original Message ----
From: tom.su <lee.su at incesoft.com>
To: alicebot-style at list.alicebot.org
Sent: Sunday, February 4, 2007 8:28:40 PM
Subject: Re: [alicebot-style] alicebot-style Digest, Vol 7, Issue 1
to chris fellows
i think we should not command aiml too much.
what you say can be done in program completely,but that
is not the advantage of aiml.
_______________________________________________
alicebot-style mailing list
alicebot-style at list.alicebot.org
http://list.alicebot.org/mailman/listinfo/alicebot-style
_______________________________________________
alicebot-style mailing list
alicebot-style at list.alicebot.org
http://list.alicebot.org/mailman/listinfo/alicebot-style
More information about the alicebot-style
mailing list