Chapter 16. Creating Grammars

The development of grammars is a key part of the creation of effective voice user interfaces. Grammar development goes hand-in-hand with the choice of dialog strategies and the crafting of prompts. The interacting goals of grammar development and detailed design are as follows:

  • To create a grammar that accommodates, as much as possible, what real callers will say

  • To craft the call flow, dialog strategies, and prompts in order to guide the caller to stay within the grammar

Clearly, these goals are interrelated. The grammar definition step described in Chapter 8 (definition of the slots and sample phrases for the grammars for each dialog state) is one part of achieving these goals. In general, the grammar writer and the ...

Get Voice User Interface Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.