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

Unanswered How to determine if a word is known to the VR Engine?

  • 2009年3月21日 12:46
     
     
    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...

全部回复

  • 2009年4月3日 22:43
     
     
    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...