Recognizing Speech with SRGS Grammars

In this section you look at creating an SRGS grammar file to augment the Voice Paint sample app from the previous section. By using an SRGS grammar, the user is able to add a shape to the canvas in a single step. You see how SRGS grammars give greater flexibility for composing phrases and for adding semantics to your grammars.

The sample for this section is located in the Speech/VoicePaint/Srgs directory of the WPUnleashed.Examples project in the downloadable sample code.

SRGS grammars have the following features:

Image They allow combining of multiple phrase lists into a single grammar.

They allow linking to other ...

Get Windows® Phone 8 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.