Getting Interpretations for Each Result and Prompting with Each

The final set of steps in this example uses the Get Recognition Interpretation step to get each interpretation for each result and to play the prompt for each interpretation. This represents the inner loop in Step 3 of the algorithm (An Example Script Algorithm Used With Generic Recognition).

Playing Prompts for Each Interpretation
Get Recognition Interpretation Step Customization Window

The script needs to be aware of the grammar being used. The sample script described here reads only values for slots named security, symbol, and digitstring.

If the grammar does not contain these slot names, empty values are returned.

If the grammar contains additional slot names that the script wants to retrieve, the script will need to be modified.