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

The SpeechRecognition.maxNBest attribute

From: Hans Wennborg <hwennborg@google.com>
Date: Tue, 19 Jun 2012 11:31:05 +0100
Message-ID: <CAB8jPhdGOEUypWJerAFjwbv65i1i_02rDGBhN1WdUJYX1eTbvQ@mail.gmail.com>
To: public-speech-api@w3.org
Hi all,

The spec draft currently says:

  attribute integer maxNBest;

I don't think "integer" is actually a WebIDL type [1]. I guess
negative values wouldn't be allowed(?), so how about we make it an
"unsigned short"? 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
Received on Tuesday, 19 June 2012 10:31:58 GMT

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