我正在尝试运行Stanford CoreNLP server。我正在使用斯坦福官方名单上的 Docker 文件
http://stanfordnlp.github.io/CoreNLP/other-languages.html#docker
我的操作系统是 ubuntu16-4lts。我对 ubuntu、编码、服务器或 NLP 了解不多。
我尝试了列表中的第一个,https://hub.docker.com/r/motiz88/corenlp/
我按原样运行它并做到了这一点:
steve at ubuntu16-4lts:~$ docker run --name coreNPL --rm -i -t motiz88/corenlp
-- listing properties --
Starting server on port 9000 with timeout of 5000 milliseconds.
StanfordCoreNLPServer listening at /0:0:0:0:0:0:0:0:9000
但是当我转到时,http://localhost:9000/
我得到:无法访问此站点 localhost 拒绝连接。
名单上的第二个得到了类似的结果。
https://github.com/chilland/corenlp-docker
还有什么我应该做或配置的吗?斯坦福 CoreNLP 服务器本身就是一个 HTTP 服务器,它会自己提供到 localhost:9000 的链接,还是需要Apache HTTP 服务器的帮助?
我在堆栈交换中搜索了“[stanford-nlp] /0:0:0:0:0:0:0:0:9000”,但找不到与我的情况相比的堆栈交换。