Using Text and Speech Input in the Debugger
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
If your application has difficulty recognizing spoken input, you can eliminate speech recognition as the source of the problem by typing input into the debugger. If problems still exist after you type the input, it might be that a grammar rule is incorrectly designed. Another possibility is that a recognition result is associated with one activity, but your program code is working with a recognition result from a different activity. To find out how to enter text into the debugger, see How to: Provide Text Input While Debugging. To find out how to enter speech into the debugger, see How to: Provide Voice Input While Debugging.
Entering Text into the Debugger
To enter text input into the debugger
Start the Survey tutorial application in the debugger.
For information about starting the application in the debugger, see Debugging the Survey Application.
When the tutorial application asks you whether you are willing to participate, enter yes in the Text Input box.
Click Submit.
The tutorial application asks "On average, how many movies do you see in a year?"
In the Voice Response Debugging Window dialog box, type I see six movies each year in the Text Input box.
Important
Do not type a numeral for the number of movies. The grammar rule does not recognize text input that contains numerals.
Click Submit.
The tutorial application says "Alright 6. Thank you for your time. Goodbye."
Entering Speech into the Debugger
To enter speech into the debugger
Start the Survey tutorial application in the debugger.
For information about starting the application in the debugger, see Debugging the Survey Application.
When the tutorial application asks you whether you are willing to participate, click Start Recording, and then say "yes."
Click Submit.
The tutorial application asks "On average, how many movies do you see in a year?"
In the Voice Response Debugging Window dialog box, click Start Recording, and then say "I see six movies each year."
The recognized text of your utterance appears in the Text Input text box.
Click Submit.
The tutorial application says "Alright 6. Thank you for your time. Goodbye."