static void Main() { Responder responder = new Responder(); while (true) { string text = Console.ReadLine(); var response = responder.GetResponse(text); SpeechSynth.SynthesisToSpeakerAsync(response).Wait(); } }
/// <summary> /// @param request /// @return /// </summary> public Response Match(Request request) { Response response = myResponder.GetResponse(request); return(response); }