Open nicolazeni opened 9 years ago
@nicolazeni are you able to run this in java without problems?
Yes it runs perfectly…
I’ve also tried to call RitaWordnet classes and the problem is the same.
As long as the Object is instatiated the server hags.
Maybe it depends by the fact that RitaWordNet itself performs several background operations, such as load dictionaries and so on?
Nicola
Da: Joseph Spencer [mailto:notifications@github.com] Inviato: martedì 7 ottobre 2014 18:48 A: joeferner/node-java Cc: nicolazeni Oggetto: Re: [node-java] nested calls (#162)
@nicolazeni https://github.com/nicolazeni are you able to run this in java without problems?
— Reply to this email directly or view it on GitHub https://github.com/joeferner/node-java/issues/162#issuecomment-58216600 .
Hi, I've implemented a class that at some point instantiate Rita wordnet library (http://www.rednoise.org/rita/) and use such methods to compute semantic features. When the instantiation happens - in console log appears the message of Rita instantiation -, node.js server get frozen, and the rest of method of course is not processed. ex. static String myMethod(String word) { ... System.out.printl("Hello I'm here"); <--------ok rita.wordnet.RiWordnet ri= new rita.wordnet.RiWordnet(); <--------ok System.out.printl("Hello I've instantiated Rita..."); <------- never reach this statement. ... }
Any hints about? Thank you Nicola