aimllib

aimllib

About

aimllib is a wrapper around chatterbean for processing The library can be used to create chat bots or sketches that communicate with the user by using aiml brains (see http://www.alicebot.org/aiml.html if you don't know what aiml is)

Download

aimllib-0.1-zip

aimllib-0.1-src-zip

Installation

to install the library simply download it and unzip it in the library folder of your processing installation. From release 0149 on the libraries folder should be in your sketchbook folder. older releases need it to be copied into the library folder of your processing installation.

Documentation

put the aiml files in your data-folder and initialize a bot. See the example-bot for aiml files you can use as a starting point

Amil bot;
bot = new Aiml( this );
bot.init(createInput("context.xml"), 
  createInput("splitters.xml"), 
  createInput("substitutions.xml"),
  new InputStream[]{ createInput( "Brain/Brain.aiml" ) });

then start chatting with the bot by calling the respond function

println(bot.respond("Hello"));

Examples

The zip file includes a simple chatbot example.

Licence

aimllib is released under the GNU GPL