System.Speech: DictationGrammar and custom grammar together? RRS feed

  • Question

  • Hello,

    I'm working with System.Speech platform with DictationGrammar. This works pretty well, but if I use a foreign word or a name, does not recognize so well. My idea is to build a grammar for these words. My questions are:

    Can I use the two grammars at once?

    Can I build the grammar in xml rather than in the code? How do you do?

    Thank you!

    Tuesday, June 12, 2012 9:10 AM


  • Hi Jon,

    Welcome the MSDN Forum.

    >>Can I use the two grammars at once?

    I am afraid not.

    >>Can I build the grammar in xml rather than in the code?

    Please take a look at this documentation: Create Grammars Using XML 

    And there are some other related information for your reference:  

    The System.Speech.Recognition namespace provides functionality with which you can acquire and monitor speech input, create speech recognition grammars that produce both literal and semantic recognition results, capture information from events generated by the speech recognition and, and configure and manage speech recognition engines.

    I hope this will be helpful.

    Best regards,

    Mike Feng
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, June 14, 2012 6:32 AM