joelee / docker-corenlp

Stanford CoreNLP Web API Server

Home Page:https://hub.docker.com/r/joeworks/corenlp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stanford CoreNLP Web API Server

This is a Docker container for running the Web API Server for Stanford CoreNLP.


Usage

docker run --name corenlp -p 9000:9000 -d joeworks/corenlp-server

Support for other language model

By default the 'english' language model is included. If you wish to add another supported languages, you have 2 options:

Download Language Model

Add -e "LANGUAGE=language-name" option in your docker run. For example to include the 'chinese' language model:

docker run --name corenlp -p 9000:9000 -d -e "LANGUAGE=chinese" joeworks/corenlp-server

Use JARs in your host folder

Map your host folder to /corenlp/model by adding -v /path/to/host:/corenlp/model option in your docker run. For example:

docker run --name corenlp -v /opt/corenlp/jars:/corenlp/model -d -e "LANGUAGE=chinese" joeworks/corenlp-server

GitHub | DockerHub | Slack

About

Stanford CoreNLP Web API Server

https://hub.docker.com/r/joeworks/corenlp/

License:MIT License


Languages

Language:Shell 100.0%