Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single words conduct to have a wrong POS which leads to a crash of the target feature module #516

Closed
seblemaguer opened this issue Apr 21, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@seblemaguer
Copy link
Member

Considering the text "Mace", at the PARTOFSPEECH stage you achieve this XML

<?xml version="1.0" encoding="UTF-8"?><maryxml xmlns="http://mary.dfki.de/2002/MaryXML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="0.5" xml:lang="en-US">
<p>
<s>
<t pos="NNP">
Mace
</t>
<t pos=".">
.
</t>
</s>
</p>
</maryxml>

problem is the pos attribute="." which apparently cause this error

java.lang.Exception: Module TargetFeatureLister: Problem processing the data.
    at marytts.server.Request.processOneChunk(Request.java:568)
    at marytts.server.Request.processOrLookupOneChunk(Request.java:403)
    at marytts.server.Request.process(Request.java:337)
    at marytts.server.http.SynthesisRequestHandler.process(SynthesisRequestHandler.java:261)
    at marytts.server.http.SynthesisRequestHandler.handleClientRequest(SynthesisRequestHandler.java:91)
    at marytts.server.http.BaseHttpRequestHandler.handle(BaseHttpRequestHandler.java:138)
    at org.apache.http.nio.protocol.BufferingHttpServiceHandler$RequestHandlerAdaptor.handle(BufferingHttpServiceHandler.java:189)
    at org.apache.http.nio.protocol.SimpleNHttpRequestHandler.handle(SimpleNHttpRequestHandler.java:51)
    at org.apache.http.nio.protocol.AsyncNHttpServiceHandler.processRequest(AsyncNHttpServiceHandler.java:453)
    at org.apache.http.nio.protocol.AsyncNHttpServiceHandler.inputReady(AsyncNHttpServiceHandler.java:316)
    at org.apache.http.nio.protocol.BufferingHttpServiceHandler.inputReady(BufferingHttpServiceHandler.java:131)
    at org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:173)
    at org.apache.http.impl.nio.DefaultServerIOEventDispatch.inputReady(DefaultServerIOEventDispatch.java:147)
    at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:161)
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:335)
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:275)
    at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
    at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:542)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.w3c.dom.DOMException: NOT_SUPPORTED_ERR: The implementation does not support the requested type of object or operation. 
    at com.sun.org.apache.xerces.internal.dom.DocumentImpl.createTreeWalker(DocumentImpl.java:291)
    at marytts.util.dom.DomUtils.createTreeWalker(DomUtils.java:952)
    at marytts.features.MaryGenericFeatureProcessors$UnitLogF0.process(MaryGenericFeatureProcessors.java:2893)
    at marytts.features.MaryGenericFeatureProcessors$UnitLogF0.process(MaryGenericFeatureProcessors.java:2795)
    at marytts.features.TargetFeatureComputer.computeFeatureVector(TargetFeatureComputer.java:146)
    at marytts.modules.TargetFeatureLister.listTargetFeatures(TargetFeatureLister.java:102)
    at marytts.modules.TargetFeatureLister.process(TargetFeatureLister.java:79)
    at marytts.server.Request.processOneChunk(Request.java:566)
    ... 19 more
@seblemaguer seblemaguer self-assigned this Apr 21, 2016
@seblemaguer seblemaguer added this to the 5.2 milestone Apr 21, 2016
seblemaguer added a commit to seblemaguer/marytts that referenced this issue Apr 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant