/// <summary> /// When windows recognizes text, this will be called. /// </summary> /// <param name="text">the text that was said</param> /// <param name="confidence">confidence of the recongized text</param> private void OnDictationResult(string text, ConfidenceLevel confidence) { Debug.Log(string.Format("SpeechToText::OnDictationResult: text: {0}, confidence: {1}", text, confidence)); // send the string to the lang engine Debug.Assert(LE != null); LE.RecieveInput(text); }