pattern-fitting normalizations problem

View: New views
2 Messages — Rating Filter:   Alert me  

pattern-fitting normalizations problem

by Boris O. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all!

I have a pattern-fitting normalizations problem.  If I have something like this:

        <category>
                <pattern>I AM *</pattern>
                <template>Hi <star/></template>
        </category>

and write "I am Boris%&#", interpreter sends me back "Hi Boris%&#"?!  Shoudn't interpreter send back only "Hi Boris", without nonalphanumeric characters?  Interpreter is PyAIML.

Re: pattern-fitting normalizations problem

by Boris O. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Seems like PyAIML has serious bugs in parser.  :(  

Is there any other interpreter that can be easilly intergrated in Python code (it can be i Java too)? In PyAIML case there was only few lines in code:

import aiml
kernel = aiml.Kernel()
kernel.learn("somefile.xml")
kernel.respond("some question")