This is a Docker container for running the Web API Server for Stanford CoreNLP.
docker run --name corenlp -p 9000:9000 -d joeworks/corenlp-server
By default the 'english' language model is included. If you wish to add another supported languages, you have 2 options:
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
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