About Grammar
The Grammar contains the words and Phrases for which the program will listen in a given Module.
Modules that have a Listen Action in their Main will have a Grammar. A List Module, such as our
Main Menu, has a Listen in its Main, therefore, it has a Grammar pane.
However, you may remember that the Grammar was unavailable in the Start Module. The Start Module
was simply playing a greeting, so the program did not need to listen for anything.
Let's look at the Start Module and List Module side by side to compare the difference:
Grammar is made up of two components that work together: Concepts and Phrases
- A Concept is a general idea used to describe a group of Phrases
-
Phrases are all the individual ways that a concept could be described by the caller
and are the words and phrases for which the program will listen.
Here are a few examples of Concepts and Phrases:
Concept |
Phrases |
Red |
Red, scarlet, crimson, ruby, cherry, candy apple |
Tell me about |
Tell me about, Explain, Give me information about, Teach me about |
Credit card |
Credit Card, Visa, Master Card, Discover, American Express |