Esempio n. 1
0
 private void OnHypothesisGenerated(string hypothesis)
 {
     HypothesisGenerated?.Invoke(
         this,
         new SpeechRecognitionHypothesisGeneratedEventArgs()
     {
         Hypothesis = new SpeechRecognitionHypothesis()
         {
             Text = hypothesis
         }
     });
 }
Esempio n. 2
0
 private void SpeechRecognizer_HypothesisGenerated(SpeechRecognizer sender, SpeechRecognitionHypothesisGeneratedEventArgs args)
 {
     HypothesisGenerated?.Invoke(this, args);
 }