RE: Tags in XML grammars

Hi Lutz,

you are correct -- Semantic Interpretation is in flux and, at present,
is not a required part of VoiceXML. 

The example you give may work on some platforms (none that I know of),
since VoiceXML platforms are not required to support any specific
Semantic Interpretation. As it says in the current specification (April,
2002), 3.1.5:

"Our intention is to have a standard mechanism in VoiceXML for
representing and processing semantic interpretation in speech and DTMF
grammars. A later version of this specification may require that
VoiceXML platforms support Semantic Interpretation for Speech
Recognition [SISR] for [SRGS] XML Form grammars." 

Hope this helps,

Scott




-----Original Message-----
From: Lutz Birkhahn [mailto:lbirkhahn@adomo.com]
Sent: Wednesday, July 24, 2002 05:53
To: www-voice@w3.org
Subject: Tags in XML grammars



I have the impression that semantic interpretations in VXML grammars are
still in flux, waiting for more input from SRGS, SISR/NLSML, etc.
Nonetheless, I'd like to know what the current state-of-the-art is
regarding
grammar tags.

Given this VXML file:

<?xml version="1.0" encoding="iso-8859-1"?>
<vxml version="2.0">
  <form>
    <field name="b">
      <grammar type="application/grammar+xml" xml:lang="en-US"
       version="1.0" root="rootRule">
        <rule id="rootRule" scope="public">
          <one-of>
            <item> first  <tag>choice='f'</tag></item>
            <item> second <tag>choice='s'</tag></item>
          </one-of>
        </rule>
      </grammar>
      <prompt>go</prompt>
      <filled>
        <prompt>one: choice is <value expr="b.choice"/></prompt>
        <prompt>two: It could also be <value expr="b"/></prompt>
      </filled>
    </field>
  </form>
</vxml>

which prompt is allowed, "one" or "two" or both? And what is the result
of
the <value> elements if you say "first": "f" or "first" or "{choice:f}"
or something else?

Thanks,

/lutz

-- 
Lutz Birkhahn                                       System Software
Engineer
Adomo Inc. --  10001 N. De Anza Boulevard Suite 220  --  Cupertino, CA
95014

Received on Wednesday, 24 July 2002 06:28:21 UTC