Artificial Intelligence Markup Language: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Eric Evers
(New page: ==Artificial Intellegence markup language== ===Overview=== AIML is an XML complient language created to allow creation of a dialog engine. Responses to various stimulus phrases are store...)
 
imported>Eric Evers
Line 1: Line 1:
==Artificial Intellegence markup language==
==Artificial Intellegence markup language==


===Overview===
===Overview===


AIML is an XML complient language created to allow creation of 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 3 differnt years. There are aiml engines in python, C++, java and other languages.
AIML is an XML complient language created to allow creation of 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 3 differnt years. There are aiml engines in python, C++, java and other languages. AIML processes word oriented data. Punctuation and Capitalization are generally ignored.  


What does it look like? Hello world in AIML.
What does aiml look like? Consider: hello_world.aiml
  <? xml ?>
  <?xml ?>
  <aiml>
  <aiml>
   <category>
   <category>
     <patter>hello alice</pattern>
     <pattern>hello alice</pattern>
     <template>Hello world</template>
     <template>Hello world</template>
   </category>
   </category>
Line 17: Line 18:
  you say > hello alice
  you say > hello alice
  alice > hello world
  alice > hello world
===Tags===
Various tags exist in aiml.
<aiml>
<category>  a stimulus-response pair
<pattern>  a stimulus
<template>  a response
*, <star>  wild card characters
<srai>      recursive response tag

Revision as of 21:41, 13 February 2008

Artificial Intellegence markup language

Overview

AIML is an XML complient language created to allow creation of 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 3 differnt years. There are aiml engines in python, C++, java and other languages. AIML processes word oriented data. Punctuation and Capitalization are generally ignored.

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>
<category>  a stimulus-response pair
<pattern>   a stimulus
<template>  a response
*, <star>   wild card characters
<srai>      recursive response tag