SALT Interactors

 

Home

Source Code

Metrics

Testing

Links

About This Site

Design

 

 

SourceForge.net Logo

Source Code

This page includes links to the final code used to execute our SALT interactors.  Use these examples to create SALT code in your own documents.  For instructions on how to do this, please review the Programming Reference (To view the programming reference in pdf format, click here).

01 Single List Selector

The Single List Selection Interactor allows the user to make a single selection from a limited, predefined list of choices, similar to a drop-down menu in a traditional dialog. 

The interactor reads each item in the list and prompts the user to speak after an item is read to select the item.

02 Multiple list selector

The Multiple List Selection Interactor allows the user to select one or more items from a short, fixed list of selections, similar to a multiple selection box in a standard graphical interface. 

02A Help List Selector

The Help List Interactor allows the user to simply say the name of each desired item, and indicate when they have completed their selections.  If the user speaks a name that is not in the list, or asks for help, the interactor reads the list as in the normal Multiple List Selector.

03 Multiple List Selector with Deselection

The Multiple List Selection with De-selection interactor allows the user to select one or more items from a short, fixed list of choices, similar to a multiple selection box in a standard graphical interface. The user is prompted to deselect any “extra’ selections at the end of the interactor.

04 Double yes/no

When asked yes/no question, the user says something else (yeah, may be, neh …).  The interactor will confirm an unclear response by asking, “Did you say Yes/No?” Will be used on error (user says something but yes/no) or on low confidence level (user says something close to yes/no).

 

Example:

Computer asks “Would you like fries with your meal?”

User responds, “Yes”

 

If confidence is less than a threshold then the computer asks,

“Did you say yes?”

User responds, “Yes”

05 Double Yes/No multimodal

When asked yes/no question, the user says something else (yeah, may be, neh …), the interactor will confirm an unclear response by displaying a dialog box asking the original question. This confirmation will be used on error (user says something but yes/no) or on low confidence level (user says something close to yes/no).

 

Example:

Computer asks “Would you like fries with your meal?”

User responds “Yes”

 

If confidence is less than a threshold then the computer asks “Would you like fries with your meal?”

User responds “Yes”

06 N-Best List

Confirm an answer to a “textual” question using a proximity threshold in the n-best list. After user’s response, get the list of words that match that response the most, and prompt the user again with that list of words: “Did you say item1, item2 or item3?”

07 N-ary prompt

Interactor 7 seeks to correct bad user responses with a set of clarifying prompt.  Clarifying prompts are played (and the interactor listens again) if the user does not respond, gives an invalid response, or asks for help.

08 Context-Sensitive Help

Prompt the user with additional cues if he gives an incorrect response – the additional cues may be different based on the type of incorrect response.

09A Whisper    prompt A

Interactor 09.A provides the user with an example prompt right after the initial question prompt is played, without any pause.

09B Whisper      Prompt B

Interactor 09.B provides the user with an example prompt after the initial question prompt is played, with a short wait in between.

11  Timeout Interactor

This interactor seeks to determine how much time a user needs to respond to a typical question.

12 Multiple Related Fields (example only)

This interactor allows the user to input data into multiple input fields in any logical order.  User-provided functions allow the interactor to make sense of the ambiguities that can arise from this.


Portland State University
Capstone Summer 2004