locked
How to determine if a word is known to the VR Engine? RRS feed

  • Question

  • I am trying to determine if certain words are already known to the DictationGrammar, but I haven't figured out how that might be accomplished...
    Saturday, March 21, 2009 12:46 PM

All replies

  • I think I figured this out for myself, but for anyone who is interested you can initialize a Reco context with the Dictation Grammar and then call EmulateRecognize() and pass the word you want to query for.  It returns a RecognitionResult object when will be NULL if the word is unknown... 

    If you get back a RecognitionResult object then it will have the pronunciation available in it...
    Friday, April 3, 2009 10:43 PM