2

Here I am facing the problem. I don't want to run nlp server on my system, I just want to get a parse tree by binding with my code for my use cases. Please anyone help me out.

nlp = StanfordNLP() #it runs the server which I completely don't want to

Ivan Kolesnikov
  • 1,787
  • 1
  • 29
  • 45
  • There are older bindings to CoreNLP that communicate directly to a running subprocess, but it's unclear that this isn't just strictly worse. In both cases, you have to boot up a separate JVM process to run CoreNLP (there's no getting around this), but in the old world order you had to use some ad-hoc method to talk to CoreNLP, whereas the server has a comparatively nicer API. – Gabor Angeli Mar 27 '17 at 07:01
  • Right now if you want to access Stanford CoreNLP in Python the best way is to run the Java server and make requests. We are not currently releasing Python versions of our software, though I think we will at some point try to release some standalone Python modules. – StanfordNLPHelp Mar 28 '17 at 23:36
  • I was looking for this only, thnx.. – allakonda harish Mar 30 '17 at 06:50

0 Answers0