Larson Technical Services: Voice Technology Consulting

Exercise 8.1

Modify the VoiceXML code of Exercise 5-2 by modifying the prompts to be

A. Tapered among fields of a form or menus in a hierarchy.

The following are the major prompts presented to the user in the answer to exercise 5-2:

  1. Please say your full name
  2. Use the keys on your telephone to enter your six digit student i.d.
  3. Enter the four digit course i.d.
  4. Say whether you want to drop or add this course?
  5. Say why you want to this course

There is no tapering between prompts 1 and 3 because of the shift in modes from speaking to pressing the keys on the telephone keypad.

There is tapering in prompts 2 and 3: Prompt 2 says “use the key on your telephone to enter.” while prompt 3 simply says “enter.”

There is no tapering between prompts 3 and 4 because the dialog shifts modes from touch tone to speaking.

We could have reduced prompt 5 to simply “Why?” but instead elected to provide an implicit feedback to user’s response to prompt 4.

B. Provide progressive assistance for each successive event handler.

  1. Please say your full name.
    Please say your first and last name.
    Please say your given name and then say your family name.
    For example, Joe Jensen.
  2. Use the keys on your telephone to enter your six digit student i.d.
    Enter your six digit student id by pressing the keys on your telephone keypad.
    Enter the six digit student identification number by pressing the keys on your telephone keypad.
    For example, press key 1, 2, 3, 4, 5, 6
  3. Enter the four digit course i.d.
    Enter the four digit course id of the course you want to drop or add.
    Enter the four digit course id by pressing the keys on your telephone keypad.
    For example, press key 1, 2, 3, 4.
  4. Say whether you want to drop or add this course?
    Do you want to drop this course or add this course?
    Say drop or add.
    To remove this course from your schedule, say drop.
    To insert this course into your schedule, say add.
  5. Say why you want to <value expr="action"/> this course.
    Please explain why you want to <value expr="action"/> this course
    <cond action="drop"/> Please explain why you want to drop this course? For example, time conflict.
    <cond action="add"/>Please explain why you want to add this course? For example, need the extra credit.

Return to the Instructor’s Page

Comments are off for this post