Re: Default value of SpeechRecognition.grammars

>
> ·       **The application layer is given control over which recognizers
> are running
>
Sounds like this is the same as the serviceURI attribute.

> ****
>
> **·       **Each recognizer publishes a single default grammar
>
****
>
> **·       **If the default grammar is not available in its entirety, the
> recognizer/UA must generate an error. ****
>
> **
>
I expect the recognizer/UA to return an error if it can't recognize for any
reason, including network issues or lack of access to other resources.
SpeechRecognition.onerror<http://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#dfn-onerror>
is
the event raised in that case. Perhaps what you are looking for is to add
an error code here such as RECOGNIZER_ERROR indicating for some reason the
recognizer can't function as expected.

Received on Thursday, 21 June 2012 17:07:04 UTC