/docker-corenlp

Stanford CoreNLP Web API Server

Primary LanguageShellMIT LicenseMIT

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