Udostępnij za pośrednictwem


Default Commands for Activities for English (United Kingdom)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The following workflow activities provided by Speech Server recognize a limited set of predefined commands:

The grammars that define these commands are built into the activities. These grammars are provided for the purpose of debugging and are not recommended for use in deployed applications. Before deploying an application, develop grammars that are appropriate for your application and set the Grammars property of the activities to the location of the replacement grammars. Any grammars specified in the Grammars property are used and the default grammars are used if the UseDefaultGrammars property is true. If the Grammars property is empty when the UseDefaultGrammars property is false, a run-time exception is raised.

The following tables list the default commands for each of the activities previously listed.

GetAndConfirmActivity

Following are the default English (United Kingdom) commands recognized by the GetAndConfirmActivity.

Command Effect

yes

Signals an affirmative response.

no

Signals denial.

no <phrase>

Signals denial and correction, when <phrase> is contained in a grammar in the activity's Grammars property. If recognition confidence is less than ConfirmationThreshold, the control enters the confirmation phase.

Following are the default English (United Kingdom) commands recognized by the MenuActivity.

Command Effect

<choice>

Selects <choice>, when <choice> is an item in the menu.

that one

Interrupts the prompt and picks an item out of a list.

no <choice>

Signals denial and correction, when <choice> is an item in the menu. If recognition confidence is less than ConfirmationThreshold, the control enters the confirmation phase.

Following are the default English (United Kingdom) commands recognized by the NavigableListActivity.

Command Effect

<choice>

Jumps to item <choice>, when <choice> is an item in the list.

cancel

Leaves the list without choosing an item.

first

Jumps to the beginning of the list.

last

Jumps to the end of the list.

next

Goes to the next item.

previous

Goes to the previous item.

select

Selects the current item and exits the list. If recognition confidence is less than ConfirmationThreshold, the control enters the confirmation phase.

no <choice>

Signals denial and correction, when <choice> is an item in the list. If recognition confidence is less than ConfirmationThreshold, the control enters the confirmation phase.

RecordMessageActivity

Following are the default English (United Kingdom) commands recognized by the RecordMessageActivity.

Command Effect

cancel

Abandons the recorded message and leaves the control.

accept

Saves the recorded message and leaves the control.

continue

Continues the recorded message by appending to it.

play back

Plays back the message.

start over

Erases the recorded message and begins again.