Questions tagged [stanford-nlp-server]

The project this tag refers to has been superseded by corenlp-server

Stanford CoreNLP Server official website: http://stanfordnlp.github.io/CoreNLP/corenlp-server.html

22 questions
6
votes
3 answers

Having both NER and RegexNER tags in StanfordCoreNLPServer output?

I am using the StanfordCoreNLPServer to extract some informations from text (such as surfaces, street names) The street is given by a specifically trained NER model, and the surface by a simple regex via the RegexNER. Each of them work fine…
stellasia
  • 5,372
  • 4
  • 23
  • 43
6
votes
2 answers

Running Stanford corenlp server with French models

I am trying to analyse some French text with the Stanford CoreNLP tool (it's my first time trying to use any StanfordNLP software) To do so, I have downloaded the v3.6.0 jar and the corresponding french models. Then I run the server with: java…
stellasia
  • 5,372
  • 4
  • 23
  • 43
4
votes
1 answer

How to use a custom TokensRegex rules annotator with Stanford CoreNLP Server?

The TokensRegex rules color annotator (stanford-corenlp-full-2016-10-31/tokensregex/color.rules.txt) loads successfully when using CoreNLP through command line but fails for the web server with java.lang.IllegalArgumentException: Unknown annotator:…
3
votes
0 answers

Can I use standfordCore Natural Language Processing Libraries in Android?

I tried to use standfordNLP libraries in Android. First, I make a function() in java that uses the stanfordNLP Libraries, working fine. But when I added the same libraries in the Android, it prompt Error:Execution failed for task…
3
votes
1 answer

How do I get the score distribution value for CoreNLP Sentiment?

I have setup CoreNLP server on my ubuntu instance and it works ok. I more interested in Sentiment module and currently I get is { sentimentValue: "2", sentiment: "Neutral" } What I need is score distribution value, as you see here:…
AR_HZ
  • 365
  • 1
  • 4
  • 18
2
votes
1 answer

Stanford CoreNLP server's JSON response missing RelationExtractor annotations

I'm processing a simple sentence to test Stanford's RelationExtractor: Microsoft is based in New York. (it's not) When I'm annotating the sentence in Java, by directly using the CoreNLP jar files I get the wanted result - CoreNLP finds a…
Simon
  • 322
  • 1
  • 13
2
votes
0 answers

SocketNER freezes in Stanford NER

Or, The Mystery of Line #2598. I was trying to run Stanford-NER on a local server. I wrote some scripts, using a bit of PyNER. I then downloaded some of Sherlock Holmes' books off Project Gutenberg, and started running the program. Set up a server…
Kalpit
  • 891
  • 1
  • 8
  • 24
2
votes
1 answer

R: coreNLP - cannot plot getdependency

I have a short text data: "I always prefer old-school guy. I have a PhD degree in science. I am really not interested in finding someone with the same background, otherwise life is gonna be boring." I have used the following codes to get the…
lll
  • 1,049
  • 2
  • 13
  • 39
2
votes
1 answer

Stanford CoreNLP Server disable logging

I have the feeling that the logging of the server is quite exhaustive. Is there a way to disable or reduce the logging output? It seems that if I send a document to the server it will write the content to stdout which might be a performance…
Stefan Falk
  • 23,898
  • 50
  • 191
  • 378
1
vote
1 answer

StanfordCoreNLPServer listening at /0:0:0:0:0:0:0:0:9000 This site can’t be reached

I'm tring to run the Stanford CoreNLP server. I'm using the Docker files on this official Stanford list http://stanfordnlp.github.io/CoreNLP/other-languages.html#docker My OS is ubuntu16-4lts. I don't know much about ubuntu, coding, servers, or…
20GT
  • 11
  • 2
1
vote
1 answer

edu.stanford.nlp.io.RuntimeIOException: Could not connect to server

I'm trying to annotate multiple sentences using the CoreNLP server. However, if I try to that with too many sentences I'm getting: Exception in thread "Thread-48" edu.stanford.nlp.io.RuntimeIOException: Could not connect to server:…
Stefan Falk
  • 23,898
  • 50
  • 191
  • 378
1
vote
2 answers

StanfordCoreNLP differs from StanfordCoreNLPServer

if you run: java -mx3g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -props StanfordCoreNLP-spanish.properties java -mx3g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLP -props StanfordCoreNLP-spanish.properties The second command open…
1
vote
1 answer

R: Stanford CoreNLP returnning NAs for getSentiment

I have the following text data: I always prefer old-school guy. I have a PhD degree in science. I am really not interested in finding someone with the same background, otherwise life is gonna be boring. And I am trying to extract out the…
lll
  • 1,049
  • 2
  • 13
  • 39
0
votes
1 answer

invoke only the openie module from corenlp server

I'd like to invoke only the openIE module once coreNLP server is up. I tried this from shell: $ java -mx4g -cp "$HOME/corenlp/*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer & $ java -cp "$CORE/*" -Xmx1g…
Nacho
  • 792
  • 1
  • 5
  • 23
0
votes
2 answers

Stanford NLP API for others languages

I would like to analyze sentences (others languages to english) with Stabnford NLP. For the moment I run the server on localhost:9000 with java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer And in my node server I call the api like…
onedkr
  • 3,226
  • 3
  • 21
  • 31
1
2