W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2002

RE: Tags in XML grammars

From: Scott McGlashan <scott.mcglashan@pipebeach.com>
Date: Wed, 24 Jul 2002 12:35:42 +0200
Message-ID: <2764A29BE430E64A92EB56561587D2E7107E61@se01ms02.i.pipebeach.com>
To: "Lutz Birkhahn" <lbirkhahn@adomo.com>, <www-voice@w3.org>

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,


-----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
grammar tags.

Given this VXML file:

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

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



Lutz Birkhahn                                       System Software
Adomo Inc. --  10001 N. De Anza Boulevard Suite 220  --  Cupertino, CA
Received on Wednesday, 24 July 2002 06:28:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:36 UTC