{"action":"opened","issue":{"url":"https://api.github.com/repos/marytts/marytts/issues/322","labels_url":"https://api.github.com/repos/marytts/marytts/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/marytts/marytts/issues/322/comments","events_url":"https://api.github.com/repos/marytts/marytts/issues/322/events","html_url":"https://github.com/marytts/marytts/issues/322","id":86084662,"number":322,"title":"Bug for italian language inside JPhonemiser module.","user":{"login":"gmiano","id":11851632,"avatar_url":"https://avatars.githubusercontent.com/u/11851632?v=3","gravatar_id":"","url":"https://api.github.com/users/gmiano","html_url":"https://github.com/gmiano","followers_url":"https://api.github.com/users/gmiano/followers","following_url":"https://api.github.com/users/gmiano/following{/other_user}","gists_url":"https://api.github.com/users/gmiano/gists{/gist_id}","starred_url":"https://api.github.com/users/gmiano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmiano/subscriptions","organizations_url":"https://api.github.com/users/gmiano/orgs","repos_url":"https://api.github.com/users/gmiano/repos","events_url":"https://api.github.com/users/gmiano/events{/privacy}","received_events_url":"https://api.github.com/users/gmiano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-08T08:38:10Z","updated_at":"2015-06-08T08:38:10Z","closed_at":null,"body":"Hi,\r\nI would like to report a bug that stops text synthesis for italian language. Here I post the error:\r\n\r\n\r\njava.lang.Exception: Module JPhonemiser: Problem processing the data.\r\n\tat marytts.server.Request.processOneChunk(Request.java:550)\r\n\tat marytts.server.Request.processOrLookupOneChunk(Request.java:385)\r\n\tat marytts.server.Request.process(Request.java:327)\r\n\tat marytts.server.http.SynthesisRequestHandler.process(SynthesisRequestHandler.java:261)\r\n\tat marytts.server.http.SynthesisRequestHandler.handleClientRequest(SynthesisRequestHandler.java:91)\r\n\tat marytts.server.http.BaseHttpRequestHandler.handle(BaseHttpRequestHandler.java:138)\r\n\tat org.apache.http.nio.protocol.BufferingHttpServiceHandler$RequestHandlerAdaptor.handle(BufferingHttpServiceHandler.java:189)\r\n\tat org.apache.http.nio.protocol.SimpleNHttpRequestHandler.handle(SimpleNHttpRequestHandler.java:51)\r\n\tat org.apache.http.nio.protocol.AsyncNHttpServiceHandler.processRequest(AsyncNHttpServiceHandler.java:453)\r\n\tat org.apache.http.nio.protocol.AsyncNHttpServiceHandler.requestReceived(AsyncNHttpServiceHandler.java:225)\r\n\tat org.apache.http.nio.protocol.BufferingHttpServiceHandler.requestReceived(BufferingHttpServiceHandler.java:127)\r\n\tat org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:161)\r\n\tat org.apache.http.impl.nio.DefaultServerIOEventDispatch.inputReady(DefaultServerIOEventDispatch.java:147)\r\n\tat org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:161)\r\n\tat org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:335)\r\n\tat org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)\r\n\tat org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:275)\r\n\tat org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)\r\n\tat org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:542)\r\n\tat java.lang.Thread.run(Unknown Source)\r\nCaused by: java.lang.IllegalArgumentException: Cannot syllabify empty phone string\r\n\tat marytts.modules.phonemiser.AllophoneSet.syllabify(AllophoneSet.java:450)\r\n\tat marytts.modules.phonemiser.TrainedLTS.syllabify(TrainedLTS.java:163)\r\n\tat marytts.modules.JPhonemiser.phonemise(JPhonemiser.java:236)\r\n\tat marytts.modules.JPhonemiser.process(JPhonemiser.java:164)\r\n\tat marytts.server.Request.processOneChunk(Request.java:548)\r\n\t... 19 more\r\n\r\nI used a workaround to correct the error. I modified line 148 inside JPhonemiser.java and substituted\r\nMatcher m = p.matcher(pos);   ---------> Matcher m=p.matcher(text);\r\n"}}