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?

  • 21 มีนาคม 2552 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...

ตอบทั้งหมด

  • 3 เมษายน 2552 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...