[mary-dev] adding new NLPs to the system

H. Sasse hgs at vermilion.plus.com
Fri Jun 17 23:03:27 CEST 2011


Just to be sure, what was the actual URL or POST request that you used?  
One normally sets the
locale in the request explicitly, I think.  Certainly the Ruby and 
Python clients I wrote did, though I
only tested them with British and American English.
     Hugh

On 17/06/2011 11:27, fxavier at ircam.fr wrote:
> Dear all,
>
> I created the fr.config, the mary-fr.jar (in $MARY_BASE/java), and rebuild
> the system with "ant" to create a proper version of the build.xml (seems
> to be ok when I checked it).
>
> Now I can start the maryserver and maryclient, and go to the
> http://localhost:59125/ in order to test the output of the french module.
>
> The problem is that, regardless of the post or get, I'm not able to have
> anything except for the locale en_US. That means that locales en, de, ru,
> tr, and of course fr have as PHONEMES output (TEXT input):
>
>
> Internal server error
>
> Processing failed.
>
> java.lang.UnsupportedOperationException: No known way of generating output
> from input -- no processing path through modules.
> 	at marytts.server.Request.processOneChunk(Request.java:513)
> 	at marytts.server.Request.processOrLookupOneChunk(Request.java:394)
> 	at marytts.server.Request.process(Request.java:341)
> 	at
> marytts.server.http.SynthesisRequestHandler.process(SynthesisRequestHandler.java:286)
> 	at
> marytts.server.http.SynthesisRequestHandler.handleClientRequest(SynthesisRequestHandler.java:112)
> 	at
> marytts.server.http.BaseHttpRequestHandler.handle(BaseHttpRequestHandler.java:150)
> 	at
> org.apache.http.nio.protocol.BufferingHttpServiceHandler$RequestHandlerAdaptor.handle(BufferingHttpServiceHandler.java:193)
> 	at
> org.apache.http.nio.protocol.SimpleNHttpRequestHandler.handle(SimpleNHttpRequestHandler.java:55)
> 	at
> org.apache.http.nio.protocol.AsyncNHttpServiceHandler.processRequest(AsyncNHttpServiceHandler.java:454)
> 	at
> org.apache.http.nio.protocol.AsyncNHttpServiceHandler.requestReceived(AsyncNHttpServiceHandler.java:229)
> 	at
> org.apache.http.nio.protocol.BufferingHttpServiceHandler.requestReceived(BufferingHttpServiceHandler.java:131)
> 	at
> org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:167)
> 	at
> org.apache.http.impl.nio.DefaultServerIOEventDispatch.inputReady(DefaultServerIOEventDispatch.java:145)
> 	at
> org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:153)
> 	at
> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:314)
> 	at
> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:294)
> 	at
> org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:256)
> 	at
> org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:96)
> 	at
> org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:556)
> 	at java.lang.Thread.run(Thread.java:679)
>
>
> Any idea on how to solve this? I guess it should work at least for the
> other already existing locales?
>
>
> Best,
> Florent
>
>
>> Hi Florent,
>>
>> Ah I guess I know. The point is that you should create a new mary-fr.jar
>> to contain your classes.
>>
>> Look inside MARY_BASE/build.xml and copy/adapt the section defining
>> mary-tr.jar
>>
>> Then try again.
>>
>> Best,
>> Marc
>>
> _______________________________________________
> Mary-dev mailing list
> Mary-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/mary-dev
>



More information about the Mary-dev mailing list