Sun Java Solaris Communities My SDN Account Join SDN
 
Documentation

API Markup Language Specification

 

Version 0.6 - October 12, 1999

The Java Speech API Markup Language (JSML) is a text format used by applications to annotate text input to speech synthesizers. JSML elements provide a speech synthesizer with detailed information on how to speak text and thus enable improvements in the quality, naturalness and understandability of synthesized speech output. JSML defines elements that describe the structure of a document, provide pronunciations of words and phrases, indicate phrasing, emphasis, pitch and speaking rate, and control other important speech characteristics. JSML is designed to be simple to learn and use, to be portable across different synthesizers and computing platforms, and to applicable to a wide range of languages.

 

Contents
 
  Contributions
  Notes to Reviewers
 
1.   Introduction
1.1       Goals for JSML
1.2       Processing JSML Documents
 
2.   JSML as an XML Document
2.1       Well-Formed JSML Document
2.2       XML Declaration
2.3       XML Elements and Attributes
2.4       XML Comments, Entities, CDATA
2.5       HTML vs. XML: Syntax Differences
 
3.   JSML Elements
3.1       "jsml" Element: Document Root
3.2       "div" Element: Text Structure
3.3       "voice" Element: Speaking Voice
3.4       "sayas" Element: Text Constructs
3.5       "phoneme" Element: Pronunciation
3.6       "emphasis" Element: Emphasizing Text
3.7       "break" Element: Pauses and Other Boundaries
3.8       "prosody" Element: Pitch, Volume and Rate
3.9       "marker" Element: Notifications
3.10       "engine" Element: Proprietary Controls
 
A.   Java Speech API Markup Language DTD