private async Task OnReceiveSentence(IDialogContext context, IAwaitable <object> result) { var received = await result; var sentence = received.ToString(); string checkSentence = await SpellChecker.CorrectSpelling(received.ToString()); if (checkSentence != received.ToString()) { sentence = checkSentence; await context.PostAsync( $"I found at least one spelling mistake that I have fixed for you. I'm going to analyze the corrected sentence: '**{sentence}**'."); } await this.AnalyzeSpeechParts(context, sentence); }