다음을 통해 공유


Voice Mode Grammar Library for Spanish (United States)

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 voice mode grammar library contains a collection of preconstructed grammar rulesets. Each ruleset contains a number of publicly scoped rules that are designed to recognize spoken input for a specific type of data such as a date, time, or numbers. Click the links in the table to read documentation describing the syntax and return values for the rules contained in each of the rulesets.

The voice mode grammar library is provided as a convenience, obviating the need for developers to write their own rules for collecting commonly used data and enabling developers to easily develop more complex grammars based on these types of common data. In addition, many of the individual rules provide built-in validation. For example, if a developer activates the DigitBlock_2Digits rule, the user must provide the correct number of digits (two) required for that rule.

Ruleset Description

Confirmation Rules for Spanish (United States)

Confirmation rules provide access to simple dialog confirmation responses.

Currency Rules for Spanish (United States)

Currency rules describe a quantity of currency up to one million dollars and 99 cents.

DigitBlock Rules for Spanish (United States)

DigitBlock rules describe sequences of digit strings in length from two to four digits.

Phone Number Rules for Spanish (United States)

Phone Number rules recognize U.S. phone numbers spoken in Spanish (United States).

Cardinal Rules for Spanish (United States)

Cardinal rules recognize numeric values ranging from zero to one million.

Ordinal Rules for Spanish (United States)

Ordinal rules recognize numeric ordering values ranging from 1 (first) to 100 (one hundredth).

Date Rules for Spanish (United States)

Date rules recognize dates expressed in a number of forms.

Time Rules for Spanish (United States)

Time rules recognize expressions of time based on a 12-hour clock.