Dela via


Speech Controls in SALT Voice Response Application Projects

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.

Use Speech Controls and ASP.NET Application Speech Controls in Speech Control Editor to perform basic speech recognition tasks and to extend the ease and speed of development provided by Speech Controls to more complex dialogs.

Speech Controls

Use the following Speech Controls in Speech Control Editor to perform basic speech recognition tasks.

Speech Control Description

Speech QA

Use the Speech QA (QA) control to recognize responses and bind elements of the recognition results to Speech SemanticItem (SemanticItem) controls. QA controls are composed of:

  • Answers collections, which are composed of Answer objects that copy recognition results to the intended target SemanticItem controls.
  • ExtraAnswers collections, which are composed of Answer objects that copy extra recognition results to destinations other than the intended target SemanticItem controls.
  • Confirms collections, which are composed of Answer objects that confirm the recognition results in the intended target SemanticItem controls.

Speech SemanticMap

Use the Speech SemanticMap (SemanticMap) control to define semantic properties that a control sends to an application using Semantic Markup Language (SML). The SML contains the XML text that notifies the application of the user's answer. SemanticMap controls are composed of a set of SemanticItem controls that contain information about a control's semantic state and its binding and autopostback characteristics.

ASP.NET Application Speech Controls

Use the following ASP.NET Application Speech Controls in Speech Control Editor to extend the ease and speed of development provided by Speech Controls to more complex dialogs. Application Speech Controls contain linguistic components, such as built-in prompts and grammars, and provide other built-in mechanisms to handle speech events such as mumbling or silence that can occur during a dialog. Use these controls when recognizing common scenarios. Examples of these common scenarios include allowing users to pick a date, input an amount in dollars, provide a ZIP/postal code, or select an item from a list.

Application Speech Control Description

AlphaDigit

Use the AlphaDigit control to collect a string of digits and characters (for example, US395).

Currency

Use the Currency control to collect an amount of U.S. dollars.

CreditCardNumber

Use the CreditCardNumber control to collect a credit card number.

CreditCardDate

Use the CreditCardDate control to collect a credit card expiration date.

Date

Use the Date control to collect a date.

NaturalNumber

Use the NaturalNumber control to collect a natural number.

DataTableNavigator

Use the DataTableNavigator control to support speech navigation of tables.

Phone

Use the Phone control to collect a U.S. telephone number.

ListSelector

Use the ListSelector control to dynamically create a grammar containing a list of text items and to ask the user to select a single item from the list.

SocialSecurityNumber

Use the SocialSecurityNumber control to collect a U.S. Social Security Number.

YesNo

Use the YesNo control to collect a Yes or No answer.

ZipCode

Use the ZipCode control to collect a U.S. ZIP code.

See Also

Other Resources

Recognize and Confirm Answers
Create SALT Voice Response Application Projects