static void Main(string[] args) { // Booting up Jarvis jarvis speech_detector = new jarvis(); // Updating the lexicon and rebooting Jarvis to update his lexicon UpdateTrie.run(speech_detector.lexicon); speech_detector = new jarvis(); // Updating the graph and rebooting Jarvis to update his graph //UpdateGraph.run(speech_detector.responseGraph); //speech_detector = new jarvis(); // Main loop while (true) { speech_detector.recognition(); } // speech_detector.recognizer.UnloadAllGrammars(); }