Name: Anonymous 2010-12-14 18:17
Python and XML - not Lisp - for AI
Python Omegle Bot which uses an Artificial Intelligence Markup Language. It’s basically a rule based xml language which is used by the AI engine to give a response (a.k.a. categories) based on a set of pre-loaded rules (a.k.a. topics). Such a topic-category definition is written in to a AIML file which the engine loads.
Find final listing here:
http://ravispeaks.wordpress.com/2009/09/16/diy-omegle-chat-bot/#viewSource
Can anyone get this running on mac? I'm getting parsing errors like crazy:
"/OmegleBot/' && '/usr/bin/pythonw' '/OmegleBot/omeglebot.py' && echo Exit status: $? && exit 1
Loading Adverbs.aiml... done (0.15 seconds)
PARSE ERROR: Unexpected <html:br> tag (line 44, column 68)
...."
I put the Annotated A.L.I.C.E. AIML files in a folder 'aaa' in the same directory as the python script, also put the PyAIML-0.8.6 aiml folder in the same directory as the .py
still the same parsing errors
What am I doing wrong? INb4MacFagSTFU
Python Omegle Bot which uses an Artificial Intelligence Markup Language. It’s basically a rule based xml language which is used by the AI engine to give a response (a.k.a. categories) based on a set of pre-loaded rules (a.k.a. topics). Such a topic-category definition is written in to a AIML file which the engine loads.
Find final listing here:
http://ravispeaks.wordpress.com/2009/09/16/diy-omegle-chat-bot/#viewSource
Can anyone get this running on mac? I'm getting parsing errors like crazy:
"/OmegleBot/' && '/usr/bin/pythonw' '/OmegleBot/omeglebot.py' && echo Exit status: $? && exit 1
Loading Adverbs.aiml... done (0.15 seconds)
PARSE ERROR: Unexpected <html:br> tag (line 44, column 68)
...."
I put the Annotated A.L.I.C.E. AIML files in a folder 'aaa' in the same directory as the python script, also put the PyAIML-0.8.6 aiml folder in the same directory as the .py
still the same parsing errors
What am I doing wrong? INb4MacFagSTFU