Book Image

Learning Robotics using Python

Book Image

Learning Robotics using Python

Overview of this book

Table of Contents (19 chapters)
Learning Robotics Using Python
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction to AIML


AIML files are a subset of Extensible Mark-up Language (XML) that can store different text patterns in the form of tags. AIML was developed by the Alicebot free software community (http://www.alicebot.org/). AIML is mainly used to implement Chatbots, a natural language software agent in which a user can ask questions to the robot and it can give an intelligent reply. This same technique is used in ChefBot. Using speech recognition, the robot gets input text from the user and an AIML interpreter; a software program that can interpret AIML files and retrieve an intelligent reply from the AIML dataset. The reply will be converted to speech. AIML files mainly consist of various tags. Here are a set of commonly used AIML tags.

Introduction to AIML tags

AIML files consist of a set of commonly used AIML tags. Let's take a look at them.

The <aiml> tag: Each AIML code begins with this tag and is closed using the </aiml> tag. This tag also consists of attributes such...