[alicebot-style] Problem with get and pattern

Kim Sullivan alicebot at seznam.cz
Tue Mar 14 21:16:04 PST 2006


> What I would like to do is to use AIML to search into a text. In this
> example the text is inserted by the user.
> I want the user to say "Find X in text", where text is the text I want to
> search in and X is the predicate that I want to look for.
> And I want the bot to look in the text for the predicate and
> reply something
> like: "X is in the text" or "X is not in the text".

It's clear now. This can't be done with AIML. You can only search for
predefined patterns. If you want, you can try to use the <system> tag, or
extend the interpreter you are using to add this kind of functionality.

Kim



More information about the alicebot-style mailing list