public void InitializeEmulator(Mode commandMode)
        {
            SpeechProcessingException = null;
            try
            {
                var builder = new GrammarBuilder();
                builder.AppendDictation();

                _recognizer = new System.Speech.Recognition.SpeechRecognitionEngine(new System.Globalization.CultureInfo("en-GB"));
                _recognizer.RequestRecognizerUpdate();
                _recognizer.LoadGrammar(new DictationGrammar());
                _recognizer.LoadGrammar(GetSpellingGrammar());
                _recognizer.LoadGrammar(GetWebSiteNamesGrammar());
                _recognizer.SpeechRecognized += recognizer_SpeechRecognized;

                CommandMode = commandMode;
            }
            catch (Exception ex)
            {
                Log.ErrorLog(ex);
                throw;
            }
        }