Provided grammars

Generally, the topics below cover language-independent details for the grammars. A language might not include all grammars, or it might add constraints to the grammars. After installing a language pack, check the Language Supplement for the set of provided grammars; see %SWISRSDK%\documentation\languages.

Note: Nuance provides installations of language packs for supported languages. Each language pack includes documentation that covers language-specific details and examples.

Examples listed here are in US English (en-US); see each Language Supplement for specific examples.

Built-in grammar

Description

alphanum_lc grammar

Collects a connected string of up to 20 digits and alphabetic characters.

boolean grammar

Collects an affirmative or negative response.

cancel grammar

Collects a single word "cancel." It allows (and ignores) "please" and dysfluencies such as "uh," "huh," and "um."

ccexpdate grammar

Collects the expiration date of a credit card.

citizenid/socialsecurity grammar

Collects government ID numbers such as 9-digit US Social Security numbers.

creditcard grammar

Collects a credit card number.

currency grammar

Collects currency amounts using local currency units.

date grammar

Collects a date spoken in any of several formats.

digits grammar

Collects a continuously spoken string of up to 20 digits (that is, the caller is not required to pause after each digit).

exit grammar

Collects a single word "exit." It allows (and ignores) "please" and dysfluencies such as "uh," "huh," and "um."

help grammar

Collects a single word "help." It allows (and ignores) "please" and dysfluencies such as "uh," "huh," and "um."

number grammar

Collects whole numeric numbers (the caller must not speak the individual digits).

operator grammar

Collects a single word "operator." It allows (and ignores) "please" and dysfluencies such as "uh," "huh," and "um."

phone grammar

Collects telephone numbers (landline and cellular), including extensions.

postcode/zipcode grammar

Collects valid postal codes.

time grammar

Collects a time of day.

Tip: For information about VoiceXML Version 2.0 Full Recommendation March 2004, see the W3C specification.