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

Re: The SpeechRecognition.maxNBest attribute

From: Satish S <satish@google.com>
Date: Tue, 19 Jun 2012 14:10:28 +0100
Message-ID: <CAHZf7R=dLeoRz6ORj+4xYVuaQh16fAXd2XCwi9B2Kn34scHXEQ@mail.gmail.com>
To: Hans Wennborg <hwennborg@google.com>
Cc: olli@pettay.fi, public-speech-api@w3.org
On a related note, I think it is better to name the attribute as
"maxResults" or "maxAlternatives" as they convey the meaning of the
attribute better than 'n-best'. Thoughts?

Cheers
Satish


On Tue, Jun 19, 2012 at 11:52 AM, Hans Wennborg <hwennborg@google.com>wrote:

> On Tue, Jun 19, 2012 at 11:47 AM, Olli Pettay <Olli.Pettay@helsinki.fi>
> wrote:
> >> negative values wouldn't be allowed(?), so how about we make it an
> >> "unsigned short"?
> >
> > Why unsigned short? unsigned long should be ok
>
> OK, let's do unsigned long then.
>
> >> [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/
>
> I foolishly clicked the "Latest Version" link on the spec ;)
>
> Thanks,
> Hans
>
>
Received on Tuesday, 19 June 2012 13:11:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 June 2012 13:11:03 GMT