none
Reproducible Bugs in Speech Server

    Question

  • Below is a simple VXML example that demonstrates a bug in Speech Server 2007. We are looking for help in reporting this to the right people.

    The dialog accepts "Eric", "Eric Smith" or "Eric Jones" with maxnbest set to 2.

    1) If you say "Eric", it always matches only "eric jones".
    Expected behavior: return both "eric smith" and "eric jones" as matches

    2) If you say "Eric Smith", it matches "Eric Smith" twice.
    Expected behavior: match "eric smith" only once.

    Note that if you say "Eric Smythe", it matches "eric smith" only once. This is the expected behavior.

    Contents of the VXML application (Note the reference to the 'erics.grxml' assumes a particular host IP and port for the web server. This would need to match your server to reproduce.):

    <?xml version="1.0" encoding="UTF-8"?>
    <vxml version="2.0" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-US">
     <form id="top">
       <property name="maxnbest" value="2"/>
       <block>
         <prompt bargein="true">Please say one of the following: Eric, Eric Smith or Eric Jones.</prompt>
       </block>
       <field>
         <grammar mode='voice' xml:lang='en-US' tag-format='semantics-ms/1.0' version='1.0' src='http://10.10.3.63:8080/test/erics.grxml'/>
         <property name='inputmodes' value='voice'/>
         <filled>
           <prompt>
             There were <value expr="lastresult$.length"/> matches.
           </prompt>
           <prompt cond="lastresult$.length >= 1">
             The first match was <value expr="lastresult$[0].interpretation"/>.
           </prompt>
           <prompt cond="lastresult$.length >= 2">
             The second match was <value expr="lastresult$[1].interpretation"/>.
           </prompt>
           <goto next="#top"/>
         </filled>
         <catch>
           <goto next="#top"/>
         </catch>
       </field>
     </form>
    </vxml>


    Content of 'erics.grxml'

    <?xml version='1.0' encoding='UTF-8'?>
    <!-- Engine: mss -->
    <grammar mode='voice' xml:lang='en-US' tag-format='semantics-ms/1.0' version='1.0' xmlns='http://www.w3.org/2001/06/grammar' root='main'>
     <rule id='main' scope='public'>
       <one-of>
         <item>
           eric
           <item repeat='0-1'>
             <one-of>
               <item>
                 smith
               </item>
               <item>
                 smythe
               </item>
             </one-of>
           </item>
           <tag>$._value='eric smith';</tag>
         </item>
         <item>
           eric
           <item repeat='0-1'>
             jones
           </item>
           <tag>$._value='eric jones';</tag>
         </item>
       </one-of>
     </rule>
    </grammar>
    Wednesday, June 25, 2008 4:45 PM