RE: Speech API: first editor's draft posted

Speech API Community Group,Milan Young, Some ideas for extending SRGS include specifying JavaScript events on DOM elements in grammars, as a hypothesis towards the multimodal examples indicated in Section 4 of the HTML Speech Incubator Group Final Report ( <item event="html5:click" target="...#element" before="0.5s" after="0.5s" /> or <event type="html5:click" target="...#element" before="0.5s" after="0.5s" /> Also, while SISR includes XML output scenarios (,,,, it is possible that SRGS and SSML could be enhanced for some specific emergent scenarios.  SSML's <prosody> topics are interesting. I also think that "SpeechRecognizer" and "SpeechSynthesizer" sound good for interface names. By runtime dynamic grammars, I mean those created in the browser, programmatically, for example with JavaScript.  .NET, Java and other speech API's support dynamic grammars; some developers might be accustomed to creating grammars programmatically.  An example use case is a website with a GUI component for displaying items, possibly using XHR or MXHR, and then the page can use JavaScript to create or update a grammar for speech functionality.  In that example use case, the items can each have annotative natural language data, such a website may even be multilingual, and the web application can utilize dynamicism with regard to one or more grammars for voice-based navigation and features.   Kind regards, AdamFrom:
Subject: RE: Speech API: first editor's draft posted
Date: Tue, 17 Apr 2012 16:55:56 +0000

The Voice Browser Working Group (
defines the SRGS and SSML standards.  I suggest that any extensions on incorporating mathematical statements into a speech application are routed through that group.
I agree that the TTS name needs work, and the names below seem like a good candidates.  I prefer “SpeechSynthesizer” because it fits well with Recognizer.
When you mention “runtime dynamic grammars”, do you mean those created within the browser?  Since I suspect that will complicate the API/implementation, I’d
 like to hear the use case.

From: Adam Sobieski []

Sent: Saturday, April 14, 2012 8:30 AM



Subject: RE: Speech API: first editor's draft posted


Speech API Community Group,


Greetings.  Regarding, I wanted to also provide some comments and suggestions for discussion:


(1) The interface 'TTS' can be refactored to 'SpeechSynthesis', 'SpeechSynthesizer' or 'SpeechSynth'.

(2) The synthesis interface can include, in addition to text string input, XML string input and document element input for HTML5 and SSML.

(3) During the synthesis of document element inputs, UA's can process substructural elements, as they are synthesized, with options resembling .

(4) For XML string and document element input formats, PLS references, CSS speech styling, as well as EPUB3-style SSML-like attributes (
 can be recognized by synthesis processors.

(5) With regard to <math> elements, <annotation-xml encoding="application/ssml+xml"> can be recognized by synthesis processors.

(6) <input> types and speech recognition (,
 extending HTMLInputElement.

(7) Runtime dynamic grammars.

(8) SRGS/SISR object model.


The synthesis and recognition of speech containing mathematical and scientific formulas are interesting topics.  In the comments and suggestions above, the synthesis of mathematical
 and scientific formulas is broached and also interesting is how grammars can be described such that speech recognition transcripts can include XML, hypertext, or MathML mathematical and scientific notation.




Kind regards,


Adam Sobieski


> From:

> Date: Thu, 12 Apr 2012 10:30:03 +0100

> To:;;

> CC:;

> Subject: Speech API: first editor's draft posted


> In December, Google proposed [1] to public-webapps a Speech JavaScript

> API that subset supports the majority of the use-cases in the Speech

> Incubator Group's Final Report. This proposal provides a programmatic

> API that enables web-pages to synthesize speech output and to use

> speech recognition as an input for forms, continuous dictation and

> control.


> We have now posted in the Speech-API Community Group's repository, a

> slightly updated proposal [2], the differences include:


> - Document is now self-contained, rather than having multiple

> references to the XG Final Report.

> - Renamed SpeechReco interface to SpeechRecognition

> - Renamed interfaces and attributes beginning SpeechInput* to

> SpeechRecognition*

> - Moved EventTarget to constructor of SpeechRecognition

> - Clarified that grammars and lang are attributes of SpeechRecognition

> - Clarified that if index is greater than or equal to length, returns null


> We welcome discussion and feedback on this editor's draft. Please send

> your comments to the mailing list.


> Glen Shires

> Hans Wennborg


> [1]

> [2]



Received on Tuesday, 17 April 2012 17:42:57 UTC