[mary-dev] adding new NLPs to the system

fxavier at ircam.fr fxavier at ircam.fr
Fri Jun 17 12:27:32 CEST 2011


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
>



More information about the Mary-dev mailing list