[mary-users] Embedded Mary

Clifton Craig clifton.craig at gmail.com
Wed Apr 28 14:45:53 CEST 2010


Last night I made much more progress on my MAvenization of Mary. My end goal is to have a pom and a simple Java interface to Mary that I can embed in a Maven based webapp. I origianlly had a hard coded path for mary.base. I've now managed to include the core folders out of the Mary install in a Java jar which is also deployed to our internal Maven repository. I now have a just in time unpackager that inflates this jar to the Java temp dir and points the mary.base system property to it. From there I am able to call startup and then do speech synthesis using the MaryClient process method. I'm trying to keep my company's code separate and rename as I share what is essentially a prototype about to graduate into an official project. If anyone is interested in what I'm doing or have done feel free to drop a line.


On Apr 26, 2010, at 9:36 PM, Clifton Craig wrote:

> I'm working on my embedded Mary solution this week. If anyone is interested or wants more detail chime in. So far I have the dependencies checked into our local Maven repo and I have a cmd line class to exercise everything. I'm going to be cleaning up the hard coded paths in an attempt to make it portable to other machines.
> 
> Begin forwarded message:
> 
>> From: Clifton Craig <clifton.craig at gmail.com>
>> Date: February 2, 2010 9:20:34 AM EST
>> To: mary-users <mary-users at dfki.de>
>> Subject: Embedded Mary
>> 
>> (Apologies if I've sent this email in the past. My email situation has been dismal but is now improving.)
>> 
>> I've been working on an embedded Mary solution and I've been meaning to share my work. It's somewhat of a hack as I haven't had the time to formalize my development strategy around Mary due to so many things changing at my company. So far I've managed to Install most of Mary's dependencies in our local Maven repository. I've also managed to create a OM listing the dependencies necessary to get basic TTS working. I've also written a command line client (b/c the current one wasn't working) to demonstrate the basic TTS interface in Java as I understood it. I'm certain there is a much less heavy-weight means of implementing the cmd line client however my AIM is to embed Mary in an existing Maven web app. I'm going to share the client code and the pom here and encourage feedback. (Unfortunately I don't know of an easy/legal way of sharing my repository uploads which represent a large piece of my work.)
>> 
>> Clifton Craig
>> Software Engineer
>> http://codeforfun.wordpress.com
>> clifton.craig at gmail.com
> <pom.xml>
> <MQMaryClient.java>
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/mary-users/attachments/20100428/2e8cd3e1/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MQMaryClient.java
Type: application/octet-stream
Size: 4828 bytes
Desc: not available
Url : http://www.dfki.de/pipermail/mary-users/attachments/20100428/2e8cd3e1/attachment.obj 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/mary-users/attachments/20100428/2e8cd3e1/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pom.xml
Type: application/xml
Size: 6217 bytes
Desc: not available
Url : http://www.dfki.de/pipermail/mary-users/attachments/20100428/2e8cd3e1/attachment.xml 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/mary-users/attachments/20100428/2e8cd3e1/attachment-0002.htm 


More information about the Mary-users mailing list