def recognize_input(self, **kwargs):
        """
        Recognize input from console and returns transcript if its not empty string.
        """
        try:
            text_transcript = input(user_input).lower()
            while text_transcript == '':
                text_transcript = input(user_input).lower()
            return text_transcript
        except EOFError as e:
            self.console_manager.console_output(error_log='Failed to recognize user input with message: {0}'.format(e))

        Recognize input from console and returns transcript if its not empty string.
        
src/jarvis/jarvis/engines/ttt.py