stanford-corenlp

所属分类:自然语言处理
开发工具:Dockerfile
文件大小:1KB
下载次数:0
上传日期:2021-02-11 12:36:33
上 传 者sh-1993
说明:  斯坦福大学corenlp,,
(stanford-corenlp,,)

文件列表:
Dockerfile (3092, 2021-02-11)

# stanford-corenlp Dockerfile for Stanford CoreNLP Server --------- This is a server wrapper for the [Stanford CoreNLP Server](http://stanfordnlp.github.io/CoreNLP/corenlp-server.html). It exposes the endpoint on port 9000. Requests are made as described in the documentation. You can specify the version you want to build, as well as to download model jars for the language you want via `--build-arg`. ## Build Docker image. ```shell docker build --build-arg STANFORD_CORENLP_VERSION=4.2.0 --build-arg MODELS=English,French,German,Spanish,Chinese,Arabic -t corenlp:4.2.0 . ``` ## Run Docker image in a container. The container runs the server with some defaults and runs the jar with 4gb of memory. The command can be overriden: ```shell docker run -p 9000:9000 -d corenlp:4.2.0 java -cp "*" -mx8g edu.stanford.nlp.pipeline.StanfordCoreNLPServer -preload tokenize,ssplit,pos,lemma,depparse,ner,kbp,relation,coref,quote,sentiment -quiet ```

近期下载者

相关文件


收藏者