|
Java
Jan 13, 2009 9:48:36 GMT -5
Post by Grant on Jan 13, 2009 9:48:36 GMT -5
Hey there everyone, I'll be writing MakeAiml 2.0 in Java for a number of reasons.
1. Portability: I'm kind of tired of compiling native code for Windows and Linux...It'll be nice to push this task onto the Java Virtual Machine.
2. Ease of writing: Java has string manipulation tools that I can use, I had to write my own for MakeAiml 1.x (C/C++).
3. Web Usage: I want to put MakeAiml onto the website so a user can run it as an applet. This will be convenient for some people -- upload text, download AIML.
So...will needing the Java runtime cause problems for anyone out there currently using MakeAiml?
|
|
|
Java
Feb 7, 2009 5:11:41 GMT -5
Post by coming on Feb 7, 2009 5:11:41 GMT -5
Your program is great. is't possible to chat with voice?
|
|
|
Java
Feb 7, 2009 10:23:39 GMT -5
Post by Grant on Feb 7, 2009 10:23:39 GMT -5
Thanks and welcome to the forum! As far as chatting with voice is concerned, I would suggest using a text-to-speech engine of some sort. If you are on Linux, try Festival. www.cstr.ed.ac.uk/projects/festival/If you are on Windows, you can try the Speech API. SAPI 5.x is only available on Windows Vista, so if you are on XP you might want to use SAPI 4.x or earlier. These are the best two TTS engines I've used, but there are dozens of other ones available. Sourceforge.net has a few available for download if you are interested. In my experience, the windows SAPI is good but you are stuck with the basic voice unless you pay for another or develop your own voice for the API. Festival was what I really wanted to use, but I haven't *really* had time to compile it on Windows. Festival is set up to build on Linux, and converting all of its Makefiles into a Visual Studio project was too big of a task for the limited time I had to try it. I hope this helped, if you are interested I can post some code to get you started using SAPI 5.x. I used the SAPI to provide a voice interface to a bot I built using RebeccaAIML, so I do have some experience with it...as for Festival, it looked really promising and sounded great, but I didn't have time to compile it
|
|
|
Java
Feb 7, 2009 16:23:54 GMT -5
Post by coming on Feb 7, 2009 16:23:54 GMT -5
Thanks, Grant, I will appreciate very much to have some code from you. If it is possible, send it to me by mail: <hidden>
|
|
|
Java
Feb 7, 2009 21:24:10 GMT -5
Post by Grant on Feb 7, 2009 21:24:10 GMT -5
The deed is done, check your email and let me know if you have any question about how I did things. When I wrote the program I didn't expect anyone but myself to have to read it, so it is probably a little messy.
|
|
|
Java
Feb 8, 2009 15:20:29 GMT -5
Post by coming on Feb 8, 2009 15:20:29 GMT -5
Thank you very much, I have received it. It's great.
|
|