private bool HandleSystemCommands(string text, ref string response)
        {
            response = "null";
            if (text == "clear window")
            {
                _userIo.ClearMessages();
                {
                    return(true);
                }
            }

            if (text == "clear memory" || text == "wipe memory" || text == "memory wipe")
            {
                _context      = new Context();
                _skillBuilder = new SkillBuilder();

                response = "Memory wipe complete, previous conversation data erased";
                return(true);
            }

            if (text == "exit")
            {
                _skillBuilder = new SkillBuilder();

                response = "Ok lets start over, what can I help you with today";
                return(true);
            }

            if (text.Contains("repeat back"))
            {
                response = text.Replace("repeat back", "");
                return(true);
            }

            if (text.Contains("open dictation") || text.Contains("open email dictation"))
            {
                _userIo.OpenEmailDictation(false);
                return(true);
            }

            if (text.Contains("start dictation") || text.Contains("start email dictation"))
            {
                _userIo.OpenEmailDictation(true);
                return(true);
            }

            return(false);
        }
        internal DialogHandler(IBioInfoUserIo userIo)
        {
            _userIo           = userIo;
            LanguageProcessor = new LanguageProcessor();
            _skillBuilder     = new SkillBuilder();
            _context          = new Context();

            var chemRec  = new ChemRecognizer();
            var skillRec = new SkillRecognizer();
            var unitRec  = new UnitRecognizer();
            var emailRec = new EmailRecognizer();

            _recognizers = new List <IRecognizers>
            {
                chemRec,
                skillRec,
                unitRec,
                emailRec
            };
        }