Пример #1
0
        public static void SetContext(List <string> contexts, int min, int max)
        {
            switch (recognizer)
            {
            case 0:
                GoogleSpeech.SetContext(contexts);
                break;

            case 1:
                WindowsSpeech.SetContext(contexts, min, max);
                break;
            }
        }
Пример #2
0
 public Recognizer()
 {
     googleSpeech  = new GoogleSpeech();
     windowsSpeech = new WindowsSpeech();
 }