Is it possible to script a self-learning bot? and if it's not possible i would want to make a easy chatbot like this
<USER>hi</USER>
<BOT>hello</BOT>
and it ignore cases, and if you want like random answers
<USER>how r u?</USER>
<BOT>answer1|answer2</BOT>
and you are able to do a config like this:
r u=are you
don't=do not
and if it cannot find a word in the database it answers like: I don't understand.
If someone don't like this idea, can you send some link to a good tutorial and give me some tips so i could make it my self?
Thanks in advance