W3C home > Mailing lists > Public > www-voice@w3.org > January to March 2002

grammar that matches arbitrary word?

From: Markku Savela <msa@msa.tte.vtt.fi>
Date: Tue, 12 Feb 2002 10:10:59 +0200
Message-Id: <200202120810.KAA08795@msa.tte.vtt.fi>
To: www-voice@w3.org
hi,

To test my browser, I thougth to write a simple phone directory
application: ask a name and perfom a query to database.

However, how do I do this?

...
<field name="name">
  <prompt>Whose phone number you want to know?</prompt>
  <grammar>
   ??? what is the grammar to accept any name ???
  </grammar>
</field>
...

Or how this type of application is supposed to be modelled? Although,
you could generate a grammar from database

 <one-of>
  <item> name1 </item>
  <item> name2 </item>
  ...
  ...
  <item> name589392 </item>
 <one-of>

I don't think this a solution...
Received on Tuesday, 12 February 2002 03:09:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 October 2006 12:48:54 GMT