Tutorial 3

This tutorial provides an introduction to the concept of a repair dialogue.

Instructions
First you will need to drag the appropriate objects onto the canvas. Left click and drag the following objects from the pallet to the canvas:

1 Start Object 1 Generic Objects 1 Goodbye Object

Next you should arrange and connect the states on the canvas as illustrated below:


Configure the "question" state with the following prompt: "What element makes up 20 percent of the Earth's atmosphere?".

Place the word "oxygen" into the vocabulary list for the exit port.

With the state configured in this manner, the only way that the application will ever exit the "question" state is if the word "oxygen" is recognized. In the absence of the *any which we have used previously, RAD will invoke a repair for this dialogue state if it cannot recognize what was spoken.

In order to enable repair, it must be activated in the preferences dialogue. To enable repair, select "Preferences..." from the "File" menu. This will open the preferences dialogue.

On the "General" tab, make sure that "Repair" is checked. Once you've done this, click "Ok" to return to the main program.


A repair dialogue is a special type of subdialogue that is designed to step in when recognition fails, or if the user gives an unexpected response. RAD has a default repair which when invoked will respond with "Sorry" and then re-attempt the prompt and response. On the second invokation, it will respond with "I still don't understand", and re-attempt. The final invokation will repeat "I still don't understand" and then halt the application.


It is possible to create your own repair subdialogues for use in specialized applications. The use of such repairs will be discussed in a future tutorial.

You can view the default repair by selecting it from the "View" menu. A subdialogue is very similar to the main canvas which we've been working with so far.

Run this application and give some incorrect responses to see the repair in action.