[alicebot-archcomm] pluggable pattern processor
Gary Dubuque
alicebot-archcomm@list.alicebot.org
Sun, 2 Mar 2003 08:58:57 -0800
I want <srai> on the pattern side so I can call these pluggable patterns
from within the normal pattern recognition processing! Actually, isn't that
what <pp> really is? I'm all for it! Let's do it and not the attribute on
the <pattern> since we wouldn't know precedence without the embedding.
Only, can we use the output of the <pp> processing? It there a <ppstar> or
<ppinput> we should add to the template side for utilizing the subset of the
input applied to the <pp> matching?
Great idea!
Gary Dubuque
Not necessarily an AIML "experimentalist" at heart
-----Original Message-----
From: alicebot-archcomm-admin@list.alicebot.org
[mailto:alicebot-archcomm-admin@list.alicebot.org]On Behalf Of Dr. Rich
Wallace
Sent: Saturday, March 01, 2003 5:47 AM
To: alicebot-archcomm@alicebot.org
Subject: [alicebot-archcomm] pluggable pattern processor
My favorite dead horse to beat on whenever anybody talks about regular
expressions and changing the AIML pattern language, is called the <pp>
pluggable pattern processor propoposal.
Imagine, no more debate over # or ? or _ or *!
Who needs a committee to decide these matters anyway!
Let each implementation, nay, each individual botmaster select the pattern
matching language of his or her preference.
The proposal is so simple, a child could understand it:
Inside <pattern>...</pattern> we allow a new tag called <pp>, the
semantics of which is to alter the AIML matching in any way, defined by
any other pattern matching scheme or language.
<pp name="AIML"> is the default
<pp name="regular expressions"> [wow]+
<pp name="neural networks"> cool!
<pp name="fuzzy"> Whatever!
<pp name="snobol"> I've died and gone to heaven.
The only really significant matter this committee would need to decide is
the priority of pattern matching processors, so to preserve the property
that the result should be exactly one unique AIML template.
In fact who needs a new tag, we could make it an attribute of the
<pattern> tag.
--
Dr. Rich
W A L L A C E
ALICE A.I. Foundation
drwallace@www.alicebot.org
_______________________________________________
alicebot-archcomm mailing list
alicebot-archcomm@list.alicebot.org
http://list.alicebot.org/mailman/listinfo/alicebot-archcomm