O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required