|
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:
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.
![]()
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.
|