| Creating SRGS Grammars
Simple Grammars
Lets create a grammar that listens for a favorite flavor. The caller can say only one of following "Strawberry", "Chocolate", "Vanilla". Download flavor.grxml.
View Video Demo for Simple Grammars

[top]
Complex Grammars
Lets create a grammar that listens for a favorite treat. Since voice responses to a prompt may use different words, grammars must be able to define optional words. For example, when asked to say their favoirte flavor of treat a caller might say any one of the following:
* my favorite is Vanilla
* I like Strawberry Bubble Gum
* Um, yeah, well, I like Chocolate Icecream.
We can do this by creating a name rule that includes a rule reference to a list of flavors and treats. Download goodies.grxml.
View Video Demo for Complex Grammars

[top]
Semantic Mark-up Grammars
Lets create a grammar that listens for the one of three colors, red, green or blue then assign it the web friendly hex code for possibly changing the colors on a multimodal salt document. Download colors.grxml.
View Video Demo for Semantic Mark-up Grammars

[top]
Table of Contents | Next Tutorial |