Skip to Main Content
Natural Language Processing with Java - Second Edition
book

Natural Language Processing with Java - Second Edition

by Richard M. Reese, AshishSingh Bhatia
July 2018
Beginner to intermediate content levelBeginner to intermediate
318 pages
7h 49m
English
Packt Publishing
Content preview from Natural Language Processing with Java - Second Edition

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 https://code.google.com/archive/p/program-ab/. 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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Natural Language Processing with Java Cookbook

Natural Language Processing with Java Cookbook

Richard M. Reese, Richard M Reese
Natural Language Processing in Action

Natural Language Processing in Action

Cole Howard, Hobson Lane, Hannes Hapke
Natural Language Processing with Python

Natural Language Processing with Python

Steven Bird, Ewan Klein, Edward Loper

Publisher Resources

ISBN: 9781788993494Supplemental Content