Artificial Intelligence Markup Language: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Eric Evers
imported>Bruce M. Tindall
m ((Insignificant change to force re-alphabetization in Live Articles list))
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Artificial Intellegence markup language==
{{Subpages}}


'''Artificial Intelligence Markup Language ('''AIML''')
is an XML compliant language created to store data to drive a dialog engine. Responses to various stimulus phrases are stored in an organized way. These responses are optionally recursive in nature.


===Overview===
AIML was used to win the Lobner ([[Turing test]]) Prize in AI in three different years. There are AIML engines in [[Python (programming language)|Python]], [[C++]], [[Java  (programming language)|Java]] and other languages. AIML processes word oriented data; punctuation and capitalization are generally ignored.


AIML is an XML complient language created to store data to drive a dialog engine. Responses to various stimulus phrases are stored in an organized way. These responses are optionally recursive in nature. AIML was used to win the Lobner (Turing test) Prize in AI three differnt years. There are aiml engines in python, C++, java and other languages. AIML processes word oriented data. Punctuation and capitalization are generally ignored.
==Example==
 
What does AIML look like? Consider: hello_world.aiml


What does aiml look like? Consider: hello_world.aiml
  <?xml ?>
  <?xml ?>
  <aiml>
  <aiml>
Line 22: Line 25:


Various tags exist in aiml.  
Various tags exist in aiml.  
  <aiml>
 
  <aiml>     the root tag
  <category>  a stimulus-response pair
  <category>  a stimulus-response pair
  <pattern>  a stimulus
  <pattern>  a stimulus
  <template>  a response
  <template>  a response
  *, <star>   wild card characters
  *, <star/> wild card characters
  <srai>      recursive response tag
  <srai>      recursive response tag
<set>      set a variable value
<get>      get a variable value

Latest revision as of 16:12, 5 May 2008

This article is a stub and thus not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.

Artificial Intelligence Markup Language (AIML) is an XML compliant language created to store data to drive a dialog engine. Responses to various stimulus phrases are stored in an organized way. These responses are optionally recursive in nature.

AIML was used to win the Lobner (Turing test) Prize in AI in three different years. There are AIML engines in Python, C++, Java and other languages. AIML processes word oriented data; punctuation and capitalization are generally ignored.

Example

What does AIML look like? Consider: hello_world.aiml

<?xml ?>
<aiml>
  <category>
    <pattern>hello alice</pattern>
    <template>Hello world</template>
  </category>
</aiml>
sample output: ------------
you say > hello alice
alice > hello world

Tags

Various tags exist in aiml.

<aiml>      the root tag
<category>  a stimulus-response pair
<pattern>   a stimulus
<template>  a response
*, <star/>  wild card characters
<srai>      recursive response tag
<set>       set a variable value
<get>       get a variable value