Voice Mode Grammar Library for French (Canada)

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 ruleset.

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 French (Canada)

Confirmation rules provide access to simple dialog confirmation responses.

Currency Rules for French (Canada)

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

DigitBlock Rules for French (Canada)

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

Phone Number Rules for French (Canada)

Phone Number rules recognize Canadian phone numbers spoken in French (Canada).

Cardinal Rules for French (Canada)

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

Ordinal Rules for French (Canada)

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

Date Rules for French (Canada)

Date rules recognize dates expressed in a number of forms.

Time Rules for French (Canada)

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