Beispiel #1
0
        static void Main()
        {
            Responder responder = new Responder();

            while (true)
            {
                string text     = Console.ReadLine();
                var    response = responder.GetResponse(text);
                SpeechSynth.SynthesisToSpeakerAsync(response).Wait();
            }
        }
Beispiel #2
0
    /// <summary>
    /// @param request
    /// @return
    /// </summary>
    public Response Match(Request request)
    {
        Response response = myResponder.GetResponse(request);

        return(response);
    }