opensubscriber
   Find in this group all groups
 
Unknown more information…

a : alicebot-style@list.alicebot.org 5 February 2007 • 4:18PM -0500

Re: [alicebot-style] alicebot-style Digest, Vol 7, Issue 1
by Anne Kootstra

REPLY TO AUTHOR
 
REPLY TO GROUP




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@ince...>
To: alicebot-style@list...
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@list...
http://list.alicebot.org/mailman/listinfo/alicebot-style






_______________________________________________
alicebot-style mailing list
alicebot-style@list...
http://list.alicebot.org/mailman/listinfo/alicebot-style


_______________________________________________
alicebot-style mailing list
alicebot-style@list...
http://list.alicebot.org/mailman/listinfo/alicebot-style

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.