patrickschur / aiml2-chatbot

A simple to use AIML 2.0 chatbot in just one file. Created for test purposes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aiml2-chatbot

Minimum PHP Version License: MIT

A simple and easy to use AIML 2.0 chatbot in just one file. I created this as a prototype to test and work with AIML 2.0 chatbots without the need of a fullblown AIML engine. It contains many bad-practices (for example mixing procedural with object-oriented code) so don't bother me. Don't use it in a production environment. It was just created as a prototype. Maybe it will go above this stage some day, who knows?

Usage

Just download the project, upload some AIML 2.0 files to it and execute the chatbot.php file in a terminal.

Supported Tags

Currently 37 different AIML 2.0 tags out of 40 are supported.

Tag Supported?
condition
sraix
system
date
input
request
response
that
sentence
star
topicstar
thatstar
oob
interval
sr
srai
lowercase
uppercase
formal
explode
first
size
program
rest
random
get
set
think
id
learn
learnf
normalize
denormalize
map
bot
person
person2
gender
eval
loop

About

A simple to use AIML 2.0 chatbot in just one file. Created for test purposes.

License:MIT License


Languages

Language:PHP 100.0%