none
Problems with SRGS Grammar in Tutorial in Beta Doc RRS feed

  • Question

  • I have been playing with the Speech Server 2007 beta and when I did the Survey Lab tutorial (in the section entitled "Lab: Constructing the Survey Tutorial Application") I had trouble getting the example SRGS grammer to work correctly.  I think I followed all the instructions correctly but the grammer fails to recognize the responses it should in the grammar (i.e. "I see 5 movies in a year").

     

    I think I have tracked the problem down to the List grammar element that holds the two RuleRefs that recognize the number of movies seen.  If I replace the RuleRefs with Phrases for the numbers "0", "1", "2", "3", "4", "5", etc. then the grammer works as described in the tutorial (for answers with 0 through 5, that is).  That leads me to believe that something is going on with the RuleRefs that I don't understand or possibly a bug?

     

    To make sure that I did not mess something up I actually cut and pasted the MoviesPerYear.grxml file that is included in the tutorial but still had the same problem.

     

    Could someone else take 15 mintures and go through this lab in the beta doc in Speech Server Tutorial section and see if they get the same results?

     

    By the way, while I am at it, it seems to me that the flow chart diagram in the section of that lab entitled, "Creating the Dialog Workflow" is incorrect on the willingToParticipate branch of the workflow.  I think the order of activities should be: surveyInstructions, askMoveAttendance, and movieAttendance rather than how its listed as askMoveAttendance, surveyInstructions, and movieAttendance but I could be wrong.

     

    This is what my Visual Studio Help screen says I have installed (which does include service pack 1):

     

    Microsoft Visual Studio 2005
    Version 8.0.50727.859  (vsvista.050727-8500)
    Microsoft .NET Framework
    Version 2.0.50727

    Installed Edition: Enterprise

    Microsoft Visual Basic 2005   77718-007-4000003-41051
    Microsoft Visual Basic 2005

    Microsoft Visual C# 2005   77718-007-4000003-41051
    Microsoft Visual C# 2005

    Microsoft Visual Studio 2005 Tools for Applications   77718-007-4000003-41051
    Microsoft Visual Studio 2005 Tools for Applications

    Microsoft Visual Studio Tools for Office   77718-007-4000003-41051
    Microsoft Visual Studio Tools for the Microsoft Office System

    Microsoft Visual Web Developer 2005   77718-007-4000003-41051
    Microsoft Visual Web Developer 2005

    Microsoft Web Application Projects 2005   77718-007-4000003-41051
    Microsoft Web Application Projects 2005
    Version 8.0.50727.859

    Visual Studio 2005 Team Edition for Architects   77718-007-4000003-41051
    Microsoft Visual Studio 2005 Team Edition for Software Architects

    Visual Studio 2005 Team Edition for Developers   77718-007-4000003-41051
    Microsoft Visual Studio 2005 Team Edition for Software Developers

    Visual Studio 2005 Team Edition for Testers   77718-007-4000003-41051
    Microsoft Visual Studio 2005 Team Edition for Software Testers

    Extensions for Windows WF   
    Windows Workflow Foundation Tools for Visual Studio

    Hotfix for Microsoft Visual Studio 2005 Team Suite - ENU (KB929470)  
    This Hotfix is for Microsoft Visual Studio 2005 Team Suite - ENU.
    If you later install a more recent service pack, this Hotfix will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/929470

    Microsoft Recipe Framework Package   8.0
    This package provides services to the guidance packages.

    Microsoft Visual Studio 2005 Team Suite - ENU Service Pack 1 (KB926601)  
    This service pack is for Microsoft Visual Studio 2005 Team Suite - ENU.
    If you later install a more recent service pack, this service pack will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/926601

    Orcas Technology Preview - .NET Framework 3.0 Development Tools   1.0
    Microsoft Visual Studio Code Name Orcas Community Technology Preview - Development Tools for WinFX

    Speech Server (2007)   84842-000-0000016-00157
    Microsoft (R) Office Communications Server 2007, Speech Server
    Version 2.0.61285.0
    Text-to-speech services provided by RealSpeak 4.0.1, © 1998 - 2005 ScanSoft, Inc. All rights reserved. 

    Monday, April 16, 2007 4:11 PM

Answers

  • I think they problem is that you're using numbers in the input.

     

    The reco result won't have the number 5 it would have the word five.

     

    I just went through the tutorial and everything worked fine for me when I only use words.

     

    Does the same problem reproduce if you say the input using a mic?

     

     

    Monday, April 16, 2007 10:05 PM

All replies

  • I think they problem is that you're using numbers in the input.

     

    The reco result won't have the number 5 it would have the word five.

     

    I just went through the tutorial and everything worked fine for me when I only use words.

     

    Does the same problem reproduce if you say the input using a mic?

     

     

    Monday, April 16, 2007 10:05 PM
  • Ahhhh, gotcha.  When I use words everything is fine with the text input on the debugging window as well as when I use the mic.  Thanks for pointing me in the right direction.

     

    What do you think about my comment with regard to the diagram in the documentation?  Does it look wrong to you?

     

    Tuesday, April 17, 2007 3:34 AM
  • You are correct about the diagram, it is wrong.
    Tuesday, April 17, 2007 4:28 PM