Tellme Speech Service Grammar Developer’s Guide

This SRGS Grammar Developer’s Guide describes the rules for writing SRGS grammars to use in VoiceXML 2.1 applications for the Tellme Platform, when using the Microsoft speech recognition engine.

Tellme supports grammars that conform to the XML form of the W3C’s Speech Recognition Grammar Specification (SRGS) 1.0 standard (see “References," below). Such grammars are referred to as SRGS grammars in this document. These grammars must also conform to the W3C’s Semantic Interpretation for Speech Recognition (SISR) 1.0 standard (see “References," below).

Intended audience

This guide is intended for developers who are experienced in creating VoiceXML applications.

What is covered in this document

The document covers SRGS grammars and the way in which they provide their match results to the VoiceXML application.

It does not cover:

  • ECMAScript (JavaScript) beyond that needed to return semantic interpretation to an application. See "References," below.
  • How to write VoiceXML applications.

The document also does not compare and contrast SRGS grammars with other grammar formats.

Note

The examples in this document are all valid SRGS grammars. As such, they may include elements and attributes that have not yet been explained. When that is the case, you should ignore the things you don’t understand—they will become clear later in the document.

This document includes the following topics:

References

  1. Voice Extensible Markup Language (VoiceXML) 2.0
    http://www.w3.org/TR/2004/REC-voicexml20-20040316/
  2. Voice Extensible Markup Language (VoiceXML) 2.1
    http://www.w3.org/TR/2007/REC-voicexml21-20070619/
  3. Speech Recognition Grammar Specification (SRGS) Version 1.0
    http://www.w3.org/TR/2004/REC-speech-grammar-20040316/
  4. Semantic Interpretation for Speech Recognition (SISR) Version 1.0:
    http://www.w3.org/TR/semantic-interpretation/
  5. Standard ECM-262, ECMAScript Language Specification:
    http://www.ecma-international.org/publications/standards/Ecma-262.htm