Skip to content

joelee/docker-corenlp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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