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

Re: The SpeechRecognition.maxNBest attribute

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Tue, 19 Jun 2012 13:47:49 +0300
Message-ID: <4FE058D5.9040808@helsinki.fi>
To: Hans Wennborg <hwennborg@google.com>
CC: public-speech-api@w3.org
On 06/19/2012 01:31 PM, Hans Wennborg wrote:
> Hi all,
>
> The spec draft currently says:
>
>    attribute integer maxNBest;
>
> I don't think "integer" is actually a WebIDL type [1].
Right. It should be long or unsigned long

  I guess
> negative values wouldn't be allowed(?), so how about we make it an
> "unsigned short"?
Why unsigned short? unsigned long should be ok

> Also, do we want specify any special values, e.g.
> "maxNBest = 0 means return all results"?
>
> Thanks,
> Hans
>
> [1] http://www.w3.org/TR/WebIDL/#idl-types
Btw, always use the latest version of the spec
http://dev.w3.org/2006/webapi/WebIDL/
Received on Tuesday, 19 June 2012 10:48:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 June 2012 10:48:23 GMT