Beispiel #1
0
        public void startListen()
        {
            MicrosoftCloudSpeechToText t = new MicrosoftCloudSpeechToText();

            ocr = new AspOCR();
            SpeechToTextAlias.SpeechToText speechToText = new SpeechToTextAlias.SpeechToText(t.GetType());
            WireEventHandlers(speechToText);
            word = new WordTextEditor();

            // speechToText.FindActionFromSpeech();

            ChangeWords();
            ChangeWords();
        }
Beispiel #2
0
        private void WireEventHandlers(SpeechToTextAlias.SpeechToText stt)
        {
            TriggerHandler handler = new TriggerHandler(actionHandler);

            stt.triggerHandler += handler;
        }