But we are doing this
to keep things consistent, and also to allow us to extend the way we determine the
customer later.
Understanding Prophecy Error Messages
If you get an MRCP error when you run your application, your grammar
file has a problem. Double-check and correct it. If you get an error
message that says could not connect to dialog, there is a problem in your
VXML code??”including linked files.
Looking Under the Hood: Which Words are Being Recognized?
In the Log Viewer, create a new filter. For the filter condition select
Message, contains and put Partial result as value. When you apply this
filter, you will see the results of the speech recognition engine as it does
its work.
Interactive Voice
[ 174 ]
We have traveled a good distance. Congratulations!
Now, let's see how we can handle some complex grammar rules. Let's have the user
say both the size and crust in the same prompt and detect what she said!
Writing Complex Grammar Rules
We want to ask the customer to speak the size of pizza and the crust she or he
wants in a single input. She or he could say "twelve inch deep" or "twelve inch deep
crust" or "medium and deep crust", or any other combination.
Pages:
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234