private void ReplaceAfterSpellCheck(string inputContext, BingSpellCheckFeed feed)
 {
     var result = string.Empty;
     foreach (var f in feed.flaggedTokens)
     {
         result = inputContext.Replace(f.token, f.suggestions[0].suggestion);
     }
     OutputText = result;
 }
 private void ReplaceAfterSpellCheck(string inputContext, BingSpellCheckFeed feed)
 {
     var result = string.Empty;
     foreach (var f in feed.flaggedTokens)
     {
         result = inputContext.Replace(f.token, f.suggestions[0].suggestion);
     }
     //if (string.IsNullOrEmpty(result))
     //{
     //    SpellCheckedText =""
     //}
     SpellCheckedText = $"Spell checked: {result}";
 }