简体   繁体   English

如何将stanford coreNLP服务器部署到在线Web服务(例如Heroku)?

[英]how to deploy stanford coreNLP server to an online webservice e.g. Heroku?

I would like to deploy the Stanford CoreNLP server so that I can access it as an API from another app of mine. 我想部署Stanford CoreNLP服务器,以便可以从我的另一个应用程序中以API的形式对其进行访问。 This is probably rather trivial but there are not many resources regarding this around. 这可能是微不足道的,但是与此相关的资源并不多。 Being a rather new developer, and not one experienced in Java, could someone point me to how I could get started with deploying it? 作为一个相当新的开发人员,而不是Java方面的经验丰富的开发人员,有人可以指出我如何开始部署它吗?

Perhaps easiest is to use a pre-built Docker image, eg, as defined in the docker section of the server documentation : 也许最简单的方法是使用预先构建的Docker映像,例如,如服务器文档的docker部分中所定义:

docker run -p 9000:9000 --name coreNLP --rm -i -t motiz88/corenlp

With the docker image at https://hub.docker.com/r/motiz88/corenlp/ 使用位于https://hub.docker.com/r/motiz88/corenlp/的Docker映像

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM