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

RE: The SpeechRecognition.maxNBest attribute

From: Young, Milan <Milan.Young@nuance.com>
Date: Tue, 19 Jun 2012 14:55:01 +0000
To: Hans Wennborg <hwennborg@google.com>, "olli@pettay.fi" <olli@pettay.fi>
CC: "public-speech-api@w3.org" <public-speech-api@w3.org>
Message-ID: <B236B24082A4094A85003E8FFB8DDC3C1A474425@SOM-EXCH04.nuance.com>
Maybe I'm missing something here, but a short is going to give us 65k possibilities.  That's the maximum size of an array in many languages.

If a recognition engine can't put the right answer into one of those slots it has bigger problems.



-----Original Message-----
From: Hans Wennborg [mailto:hwennborg@google.com] 
Sent: Tuesday, June 19, 2012 3:53 AM
To: olli@pettay.fi
Cc: public-speech-api@w3.org
Subject: Re: The SpeechRecognition.maxNBest attribute

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 14:55:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 June 2012 14:55:32 GMT