W3C home > Mailing lists > Public > public-xg-htmlspeech@w3.org > November 2011

Re: updated final report draft

From: Dan Burnett <dburnett@voxeo.com>
Date: Sun, 13 Nov 2011 00:53:24 -0500
Cc: public-xg-htmlspeech@w3.org
Message-Id: <A3ACCA4A-29E2-4844-B588-99B6E4664429@voxeo.com>
To: Satish S <satish@google.com>
Agreed.  I will apply this change when I convert the arrays to collections throughout.

-- dan

On Nov 11, 2011, at 9:30 AM, Satish S wrote:

> o API Issue 5 (http://bantha.org/~mbodell/speechxg/issuew5.html):
> Brought back the grammar/parameter functions.  This involved uncommenting the functions/explanations, adding a new one for grammarString, and renaming and rewording appropriately.
> 
> A minor/cosmetic suggestion - it would be cleaner to have a separate interface. See http://www.w3.org/TR/domcore/#domtokenlist for inspiration.
> 
>     interface SpeechGrammar {
>         attribute DOMString src;
>         attribute float weight;
>     };
> 
>     interface SpeechGrammarList {
>         readonly attribute unsigned long length;
>         getter SpeechGrammar item(unsigned long index);
>         void addGrammarUri(in DOMString src, optional float weight);
>         void addGrammarString(in DOMString string, optional float weight);
>     }
> 
>     interface SpeechReco {
>         SpeechGrammarList grammars;
>         ...
>     }
> 
> --
> Cheers
> Satish
Received on Sunday, 13 November 2011 05:54:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:16:51 UTC