Pandorawriter - Converts Dialog to AIML Categories

by Doubly Aimless

Version 0.7 September 10, 2002

Pandorawriter converts a free-format dialog, such as the dialog below, into AIML categories suitable for use at www.pandorabots.com. A more powerful tool should be offered (at a later date), yet my modest intention is to offer a small increase in efficiency for entering Pandoneurons.

Your dialog file consists of multiple free-format text lines. The dialog consists of alternating human queries and bot responses. A query or reply may contain multiple lines, and each is terminated by one or more blank lines. Here is an example:

Hello, my name is Doubly Aimless

  Hello Mr. Aimless or is it Dr. Aimless?

I am a profound doubter of Alice

  Why do you doubt Alice?

Because, for me, AIML technology can do little beyond
being a platform to display witticisms

  Must everything be about you?

It simulates having a conversation
and I can not imagine liking that

  "That's all!!???" &cetera  Isn't that enough?
        
The result is this:
<?xml version="1.0" encoding="UTF-8"?>
<aiml version="1.0">
  <category>
    <pattern> Hello, my name is Doubly Aimless </pattern>
    <template> Hello Mr. Aimless or is it Dr. Aimless? </template>
  </category>
  <category>
    <pattern> I am a profound doubter of Alice </pattern>
    <template> Why do you doubt Alice? </template>
  </category>
  <category>
    <pattern>
              Because, for me, AIML technology can do little beyond being a
              platform to display witticisms
    </pattern>
    <template> Must everything be about you? </template>
  </category>
  <category>
    <pattern>
              It simulates having a conversation and I can not imagine liking
              that
    </pattern>
    <template> "That's all!!???" &amp;cetera Isn't that enough? </template>
  </category>
</aiml>
        

A few things to note:

The text is returned both converted to AIML categories and also in its original form so either can be used for further editing. The generated AIML can be saved to local disk (although the Doctor needs to think harder about character sets and eol encodings).

Dr. Aimless accepts all comments at info@pandorabots.com.

Go to the Pandorawriter page.