public void Run(string s)
        {
            Console.WriteLine("------ creating StringCharProducer ------");
            StringCharProducer producer = new StringCharProducer(s);

            Run(producer, 1);
        }
        /// <summary>
        /// Tokenizes a string by creating a <see cref="StringCharProducer">StringCharProducer</see> instance internally.
        /// </summary>
        /// <param name="s">The string to tokenize.</param>
        public void Run(string s)
        {
            Log("Creating producer object from string");
            StringCharProducer producer = new StringCharProducer(s);

            Run(producer, 1);
        }
Ejemplo n.º 3
0
        public void Speak(string text, AudioTarget audioTarget)
        {
            if (audioTarget == null)
            {
                return;
            }
            _IsSpeaking = true;
            StringCharProducer sp = new StringCharProducer(text);

            Speak(sp, audioTarget);
        }