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

Fwd: Re: DTMF, MRCP, but ... what???

From: Luke-Jr <luke@dashjr.org>
Date: Thu, 27 Jan 2011 15:31:33 -0500
To: www-voice@w3.org
Message-Id: <201101271531.34424.luke@dashjr.org>
Our MRCP server is yielding the following NLSML result for a basic grammar 
with no semantic interpretation tags:
	<?xml version='1.0'?>
	<result>
	  <interpretation grammar="session:144235924" confidence="100">
	    <input mode="dtmf">
    	  1 2 3 4
	    </input>
	    <instance>
	      <SWI_literal>
	        1 2 3 4
	      </SWI_literal>
	      <SWI_grammarName>
	        session:144235540
	      </SWI_grammarName>
	      <SWI_meaning>
	        {SWI_literal:1 2 3 4}
	      </SWI_meaning>
	    </instance>
	  </interpretation>
	</result>

Carefully reading over the NLSML and VoiceXML specifications, it seems correct 
to assign the full <instance> contents to the VXML variable as an ECMAScript 
object structure. However, the application of course is expecting the raw 
input string '1 2 3 4', not an object.

Why would the MRCP server be providing a semantic interpretation of its own, 
rather than omitting it? How should a conforming VoiceXML interpreter handle 
cases like this?

Thanks,

Luke
Received on Thursday, 27 January 2011 20:32:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 27 January 2011 20:32:20 GMT