Coder Social home page Coder Social logo

Make process asynchronous about nlp.js HOT 4 CLOSED

axa-group avatar axa-group commented on May 13, 2024
Make process asynchronous

from nlp.js.

Comments (4)

vvscode avatar vvscode commented on May 13, 2024

@jesus-seijas-sp except changing an interface - nothing else should be changed? right?

from nlp.js.

jesus-seijas-sp avatar jesus-seijas-sp commented on May 13, 2024

@vvscode Correct. The problem is that is a breaking change so it will mean a major version, an also affect to so many tests.
The idea is that the interface must be prepared so the ner-manager instead of using microsoft recognizer that is sync, can use call to apis like duckling.

from nlp.js.

vvscode avatar vvscode commented on May 13, 2024

I'm taking it

from nlp.js.

DiegoRBaquero avatar DiegoRBaquero commented on May 13, 2024

I would like to point out that even if using async/await, train method blocks completely the event loop. In my API server, requests stop being received until training is done

from nlp.js.

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.