Kingston University
Research
Development
Customising Arthur
Program Functions
Critique
Source Code
Knowledge Base
Template File
Home
Evaluation
Related Links
Arthur the Chatterbot

Customising the Chatterbot


The Chatterbot is very easy to customise. The Kbase.dat file has the structure;

EXAMPLE

-------------------------------------

*

about yourself

I am a Chatterbot created by a great AI team at Kingston University.

My name is Arthur.

-------------------------------------

The general structure is;

-------------------------------------

"*" - marks a new keyword(s)

"n" � number of responses

response one

response two

etc.

--------------------------------------

The Kbase.tpl file holds the templates for the generic answers based on the user�s question.

EXAMPLE

--------------------------------------

*

what

Hey pal, don�t ask [ , it�s top secret!

I don�t know what [, perhaps I don�t care.

---------------------------------------

The general structure is similar to the Kbase.dat file, but there are differences;

The "[" marks where the output of Arthur�s parser will be placed. You don�t have to have the "[", but that will make Arthur skip the output from the parser.

The Kbase.tpl is GRAMMAR ORIENTED and not keyword. Therefore you only have one

�keyword� -> the grammar object -> example: "what".

The larger the database created, the better the Chatterbot will be.