AIMLAIML, or Artificial Intelligence Mark-up Language is an XML-based programming language. It was designed specifically to aid in the creation of the A.L.I.C.E. chatterbot. Although broadly described, the language is specialised to the creation of natural language software agents, known as Alicebots.
BackgroundThe programming language of AIML was developed by Dr. Richard Wallace and the Alicebot free software community between the years of 1995 and 2000. It formed the basis for the initial Alicebot, A.L.I.C.E.. Since then, due to AIML and the Alicebot programs being open-source, many Alicebot 'clones' have been created based upon the original implementation of the program and its AIML knowledge-base. Elements of AIMLAIML contains several elements. The most important of these are described in further detail below. CategoriesCategories in AIML are the fundamental unit of knowledge. A category consists of at least two further elements. These are the pattern and template elements, which are usually coded in that order. However, this is not a necessary programming syntax. PatternsAlicebots are generally described as 'pattern-matching' chatbots. This means that the program will search for patterns within a user's input and respond accordingly. The pattern element defines the pattern that will be searched for, hence its name. TemplateIf a pattern within a category is matched successfully and it is the most accurate pattern that can be matched, then the category-specific template is applied to the chatbots response. This template can contain other AIML elements, which allow automated customisation of the chatbot's response. For example:
Human: Are you smarter than Hal 9000? ALICE: Of course I am more intelligent than Hal 9000.
Human: What is AskFactMaster.Com? ALICE: That's a good question. Human: What is AskFactMaster.Com? ALICE: I don't know anything about it. Human: What is AskFactMaster.Com? ALICE: I have to process that one for a while. External LinksOfficial Resources
Examples of Popular Online Alicebots
AIML Communities & Alicebot Directories
Categories: Markup languages | Artificial intelligence |
|
This article is licensed under the GNU Free Documentation License. It uses material from Wikipedia article. Browse Wikipedia for more information. |