Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/haskell/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Stanford CoreNLP服务器没有响应_Java_Stanford Nlp - Fatal编程技术网

Java Stanford CoreNLP服务器没有响应

Java Stanford CoreNLP服务器没有响应,java,stanford-nlp,Java,Stanford Nlp,我一直在尝试使用各种python包来使用CoreNLP服务器,包括。我总是遇到同样的问题,我没有收到服务器的回复。因此,我转而研究如何根据文档测试原始服务器 我从网上下载了一份CoreNLP。然后,我尝试从终端启动一台服务器,并按照所述转到本地主机。 根据文档,我应该在访问时看到一些内容,但没有加载任何内容 以下是我使用的命令: cd stanford-corenlp-full-2018-10-05/ java -mx4g -cp "*" edu.stanford.nlp.pipeline.St

我一直在尝试使用各种python包来使用CoreNLP服务器,包括。我总是遇到同样的问题,我没有收到服务器的回复。因此,我转而研究如何根据文档测试原始服务器

我从网上下载了一份CoreNLP。然后,我尝试从终端启动一台服务器,并按照所述转到本地主机。 根据文档,我应该在访问时看到一些内容,但没有加载任何内容

以下是我使用的命令:

cd stanford-corenlp-full-2018-10-05/
java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 9000 -timeout 15000
以下是运行上述命令的输出:

[main] INFO CoreNLP - --- StanfordCoreNLPServer#main() called ---
[main] INFO CoreNLP - setting default constituency parser
[main] INFO CoreNLP - warning: cannot find edu/stanford/nlp/models/srparser/englishSR.ser.gz
[main] INFO CoreNLP - using: edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz instead
[main] INFO CoreNLP - to use shift reduce parser download English models jar from:
[main] INFO CoreNLP - http://stanfordnlp.github.io/CoreNLP/download.html
[main] INFO CoreNLP -     Threads: 8
[main] INFO CoreNLP - Starting server...
[main] INFO CoreNLP - StanfordCoreNLPServer listening at /0:0:0:0:0:0:0:0:9000
然后我去了,什么也没装。正如我之前提到的,我一直在尝试使用一些python包做同样的事情,并观察到类似的行为

是与服务器不使用节响应相关的堆栈溢出帖子

操作系统:MacOS 10.15.4 Python:3.7.7 Java:1.8

这可能是Java版本的问题吗?还是我从网站上下载的模型