private void ProcessServerResponse(object sender, string rawStr)
 {
     try
     {
         JObject respond = JObject.Parse(rawStr);
         if (respond.ContainsKey("partial"))
         {
             _transcriptionModel.Partial = respond["partial"].ToString();
         }
         if (respond.ContainsKey("text"))
         {
             _transcriptionModel.Text = respond["text"].ToString();
         }
         HandledServerResponse?.Invoke(this, _transcriptionModel.Text);
     }
     catch (JsonReaderException e)
     {
         InfoMessage?.Invoke(this, e.Message);
     }
 }
 public void Clear()
 {
     _transcriptionModel.Clear();
     HandledServerResponse?.Invoke(this, _transcriptionModel.Text);
 }