Zabaware Support Forums

Zabaware Forums => Programming using the Ultra Hal Brain Editor => Topic started by: jasondude7116 on February 23, 2009, 08:02:53 pm

Title: Robert- question about hal reader and text parsing
Post by: jasondude7116 on February 23, 2009, 08:02:53 pm
robert-

1)  is there a command line structure for hal reader?
can i open hal reader and/with a text file using the command line?
(i am trying to load a text file into "hal reader" from ultra hal script)
* "hal reader" not "halpad"

             
2)  is there a way to parse text in ultra hal like hal reader does it?
in other words, can ultra hal send text to the speech engine one sentence at a time, so that the speech engine parses the sentence, then ultra hal sends it the next sentence?


(i am trying to figure a way around the fact that when i send a large amount of text to the speech engine at once...like a story ect., it only parses a certain amount of it)



THANK YOU SIR. I KNOW YOUR TIME IS VALUABLE, AND I APPRECIATE YOUR HELP.
-the dude
Title: Robert- question about hal reader and text parsing
Post by: Medeksza on February 28, 2009, 02:16:38 am
quote:
Originally posted by jasondude7116

robert-

1)  is there a command line structure for hal reader?
can i open hal reader and/with a text file using the command line?
(i am trying to load a text file into "hal reader" from ultra hal script)
* "hal reader" not "halpad"

             
2)  is there a way to parse text in ultra hal like hal reader does it?
in other words, can ultra hal send text to the speech engine one sentence at a time, so that the speech engine parses the sentence, then ultra hal sends it the next sentence?


(i am trying to figure a way around the fact that when i send a large amount of text to the speech engine at once...like a story ect., it only parses a certain amount of it)



THANK YOU SIR. I KNOW YOUR TIME IS VALUABLE, AND I APPRECIATE YOUR HELP.
-the dude



The answer to your first question unfortunetely is no.

The answer to your second question is maybe, but would require some work. Hal uses speech components called SpeechKit from www.chant.net for most of its speech recognition and speech synthesis capabilities. The speech synthesis component is actually exposed as an ActiveX control from within Hal's script. It is available as the object HalMenu.XChantTTS1

I think the SpeechKit6 is available as a 30-day trial which would give all the documentation as to what methods and properties are available for the XChantTTS1 object.



Title: Robert- question about hal reader and text parsing
Post by: jasondude7116 on February 28, 2009, 09:37:30 am
thank you very much sir for the help!

i will look into it asap[:D]

-the dude