JavaTM Speech Grammar Format Specification

Version 1.0 - October 26, 1998

 

The JavaTM Speech Grammar Format is a platform-independent, vendor-independent textual representation of grammars for use in speech recognition. Grammars are used by speech recognizers to determine what the recognizer should listen for, and so describe the utterances a user may say. JSGF adopts the style and conventions of the Java programming language in addition to use of traditional grammar notations.

 


Contents
 

  Preface
      Technical Scope
      Web Resources
      Mailing Lists
      Revision History
  Contributions
  1. Introduction
      1.1 Related Documentation
  2. Definitions
      2.1 Grammar Names and Package Names
      2.2 Rulenames
      2.3 Tokens
      2.4 Comments
  3. Grammar Header
      3.1 Self-Identifying Header
      3.2 Grammar Name Declaration
      3.3 Import
  4. Grammar Body
      4.1 Rule Definitions
      4.2 Rule Expansions
      4.3 Composition
      4.4 Grouping
      4.5 Unary Operators
      4.6 Tags
      4.7 Precedence
      4.8 Recursion
      4.9 Uses of <NULL> and <VOID>
      4.10 Documentation Comments
  5. Examples
      5.1 Example 1: Simple Command and Control
      5.2 Example 2: Resolving Names
      5.3 Example 3: Documentation Comments

JavaTM Speech Grammar Format Specification
Copyright © 1997-1998 Sun Microsystems, Inc. All rights reserved
Send comments or corrections to javaspeech-comments@sun.com