W3C home > Mailing lists > Public > public-speech-api@w3.org > June 2012

Re: Default value of SpeechRecognition.grammars

From: Satish S <satish@google.com>
Date: Thu, 21 Jun 2012 18:06:30 +0100
Message-ID: <CAHZf7R=Z8z+nPjVNykk9TO6U5A_Mb=KRpyt90HQoh_O8wEZRgQ@mail.gmail.com>
To: "Young, Milan" <Milan.Young@nuance.com>
Cc: Jerry Carter <jerry@jerrycarter.org>, Hans Wennborg <hwennborg@google.com>, "public-speech-api@w3.org" <public-speech-api@w3.org>
>
>        **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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 21 June 2012 17:07:05 GMT