예제 #1
0
        static void Main(string[] args)
        {
            iSpeechASR _asr = new iSpeechASR(api, production);
            iSpeechTTS _tts = new iSpeechTTS(api, production);

            Console.WriteLine("Running a TTS \"How are you?\"");
            _tts.run("Hello how are you?");
            Console.WriteLine("TTS Done");
            Console.WriteLine("Running a define list");
            _asr.runList();
            Console.WriteLine("Running free form");

            _asr.runFreeForm();
            Console.WriteLine("Press enter to exit");
            Console.ReadLine();
        }
예제 #2
0
 static void Main(string[] args)
 {
     
     iSpeechASR _asr = new iSpeechASR(api,production);
     iSpeechTTS _tts = new iSpeechTTS(api, production);
     Console.WriteLine("Running a TTS \"How are you?\"");
     _tts.run("Hello how are you?");
     Console.WriteLine("TTS Done");
     Console.WriteLine("Running a define list");
     _asr.runList();
     Console.WriteLine("Running free form");
     
     _asr.runFreeForm();
     Console.WriteLine("Press enter to exit");
     Console.ReadLine();
 }