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:
They allow combining of multiple phrase lists into a single grammar.
They allow linking to other ...
Get Windows® Phone 8 Unleashed 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.