- From: Glen Shires <gshires@google.com>
- Date: Sat, 19 Jan 2013 19:32:56 -0800
- To: "public-speech-api@w3.org" <public-speech-api@w3.org>
- Message-ID: <CAEE5bcgMTo=h5hnCq6R+f4BZs91EByaLAtkMYDK_BG7KjCe1Cg@mail.gmail.com>
We've found that generating a "simple" XML/DOM wrapper of the results for the SpeechRecognitionEvent emma attribute is more challenging to implement than originally thought. I propose that the UA may return undefined for implementations in which the speech recognition engine does not supply emma. In this case, emma doesn't provide any additional information than is already available via the API in the results attribute. Specifically, I propose adding the phrase: ", or if the recognizer does not supply EMMA then the user agent may return undefined." Here it is in context [1] ... emma attribute EMMA 1.0 representation of this result. [EMMA] The contents of this result could vary across user agents and recognition engines, but all implementations must expose a valid XML document complete with EMMA namespace, or if the recognizer does not supply EMMA then the user agent may return undefined. User agent implementations for recognizers that supply EMMA must contain all annotations and content generated by the recognition resources utilized for recognition, except where infeasible due to conflicting attributes. The user agent may add additional annotations to provide a richer result for the developer. [1] https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-emma
Received on Sunday, 20 January 2013 03:34:04 UTC