RiveScript is a Perl module that allows you to rendering intelligence very easily.
SYNOPSIS
use RiveScript;
# Create a new RiveScript interpreter.
my $rs = new RiveScript;
# Load some replies.
$rs->loadDirectory ("./replies");
# Load in another file.
$rs->loadFile ("./more_replies.rs");
# Stream in even more RiveScript code.
$rs->stream (q~! global split_sentences = 1~);
# Sort all the loaded replies.
$rs->sortReplies;
# Grab a response.
my @reply = $rs->reply ('localscript', 'Hello RiveScript!');
print join ("n", @reply), "n";
RiveScript is a simple input/response language. It has a simple, easy-to-learn syntax, yet it is more powerful even than Dr. Wallace's AIML (Artificial Intelligence Markup Language). RiveScript was created as a reply language for chatterbots, but it has been used for more complex things above and beyond that.
Product's homepage
Requirements:
· Perl