Giter VIP home page Giter VIP logo

Comments (4)

naiqili avatar naiqili commented on July 18, 2024

I figured out a method to overcome this. It seems that the reason is when adding user input, the conversation floor will be handle to the user. I simply comment the line in the file DialogSystem. But it seems suspicious :)

public Set<String> addUserInput(SpeechData inputSpeech) {
        Assignment a = new Assignment(settings.userSpeech, inputSpeech);
        //a.addPair(settings.floor, "user");
        return addContent(a);
}

from opendial.

plison avatar plison commented on July 18, 2024

mm, I don't really manage to reproduce the problem, but it's probably due to some deadlock condition. Do you also have the same problem when using e.g. Nuance instead of Sphinx? Which other modules are you using (Mary TTS)?

from opendial.

naiqili avatar naiqili commented on July 18, 2024

Hi, I am using the Festival TTS component and I think this is the problem.
When I change it to Mary TTS everything is fine. There's probably some
problems with my Festival TTS code. Thanks!

On Thu, Nov 3, 2016 at 10:33 PM, Pierre Lison [email protected]
wrote:

mm, I don't really manage to reproduce the problem, but it's probably due
to some deadlock condition. Do you also have the same problem when using
e.g. Nuance instead of Sphinx? Which other modules are you using (Mary TTS)?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#19 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AV8OZNCCGlLncw9OGKeA6pk5W_P6buVdks5q6fChgaJpZM4KeCHh
.

from opendial.

plison avatar plison commented on July 18, 2024

If you're still having problems, try to create threads to perform the speech synthesis (you can have a look at the latest version of opendial/plugins/MaryTTS.java, where we are now using Threads to avoid these kinds of deadlock).

from opendial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.