private void OnRecognize(SpeechRecognitionEvent result)
 {
     if (result != null)
     {
         foreach (var res in result.results)
         {
             foreach (var alt in res.alternatives)
             {
                 if (res.final && alt.confidence > 0)
                 {
                     StopRecording();
                     string text = alt.transcript;
                     Debug.Log("Watson hears : " + text + " Confidence: " + alt.confidence);
                     _assistantService.AnswerRequest(text);
                 }
             }
         }
     }
 }