Beispiel #1
0
        public void OnDictationResult(string text, ConfidenceLevel confidence)
        {
            if (text.ToLowerInvariant().Contains(endDictationKeyword))
            {
                DictationManager.Instance.EndDictation();
                return;
            }

            DictationBuffer.Append(text).Append('.');
            SetText(DictationBuffer.ToString());
        }
Beispiel #2
0
 public void OnDictationHypothesis(string text)
 {
     SetText(DictationBuffer.ToString() + ' ' + text + "...");
 }