Developing a chatbot using ALICE and AIML

To develop a chatbot, we need an AIML interpreter or reference implementation of the AIML. One such tool for this is Program AB, which can be found at In the download section, the ZIP file is available for Program AB. Extract the file, which will have the following directories:

  • bots: Contains the super folder to show the name of the bot
  • data: Contains sample text
  • lib: Contains Ab.jar
  • out: Contains a class file

In the super subdirectory of the bots directory, we can see the directory names aiml, aimlf, config, data, maps, and sets. These are standard directories that are needed for creating a chatbot using AIML and ALICE. Let's test the chatbot. Open ...

Get Natural Language Processing with Java - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.