Grammar writing checklist

Grammar design describes the steps involved in creating grammars including designing the application/caller dialog and predicting the words and phrases that must be covered by the grammars.

These steps constitute the main tasks involved in writing grammars:

  • Identify core and filler. The core parts of a grammar are the important semantic words, and the filler parts are the non-essential artifacts contained in speech.
  • Plan your grammar strategy, including how many grammar files, links between grammar files, and the sharing of general-purpose grammars.
  • Write and deploy the grammars, including related activities such as inserting dictionary pronunciations, detecting language preferences, compilation, and interpreting grammar results in your application.
  • Test the grammars for full coverage, ambiguous parses, and performance.