Grammar Reference


Preface

VoiceXML applications use grammars to specify sets of valid user utterances at particular points in an interaction with the application. For example, at the beginning of your application, you may ask the user to select among a set of predefined options. In your VoiceXML document, you'll use a grammar to identify the set of possible things a user can say for each option. The speech-recognition engine uses the grammar to identify which option the user is selecting.

This document provides information on how to use a grammar within your VoiceXML application and how to define grammars in various formats.

Audience

This document is for software developers using BeVocal VoiceXML. It assumes that you are familiar with the basic concepts of HTML and that you already have some familiarity with VoiceXML authoring.

Conventions

Italic font is used for:

 •  Introducing terms that will be used throughout the document
 •  Emphasis

Bold font is used for:

 •  Headings

Fixed width font is used for:

 •  Code examples
 •  Tags and attributes
 •  Values or text that must be typed as shown

Italic fixed width font is used for:

 •  Variables
 •  Prototypes or templates; what you actually type will be similar in format, but not the exact same characters as shown

References

For additional or related information, you can refer to:

 •  VoiceXML Programmer's Guide. BeVocal. (http://cafe.bevocal.com/docs/vxml/index.html)
 •  VoiceXML Version 2.0 Specification. VoiceXML Forum. http://www.voicexml.org under Specs for PDF. (http://www.w3c.org/TR/voicexml20/ for HTML)
 •  Nuance Grammar Developer's Guide. Nuance. Under developers documentation after logging on at the Nuance web site (http://www.nuance.com).


[Show Frames]   [FIRST] [PREVIOUS] [NEXT]
Nuance Communications, Inc. Café Home | Developer Agreement | Privacy Policy | Site Map | Terms & Conditions
Part No. 520-0004-02 | © 1999-2007, Nuance Communications, Inc. All rights reserved | 1.877.33.VOCAL