Sign inSign up

jgoodall/corenlp

By jgoodall

Updated over 6 years ago

Stanford CoreNLP server

Image
0

2.8K

jgoodall/corenlp repository overview

corenlp-server

This image starts a CoreNLP Server.

Usage

To get started using the default port to listen on, run:

docker run -p 9000:9000 jgoodall/corenlp

To change the port/or memory allocation (default is 3g), run:

docker run --env PORT=9123 --env MEMORY=4g -p 9123:9123 jgoodall/corenlp

To test, send some text to the server:

curl --data "The quick brown fox jumps over the lazy dog." 'http://localhost:9000/?properties={%22annotators%22%3A%22tokenize%2Cssplit%2Cpos%2Cner%22%2C%22outputFormat%22%3A%22json%22}'

Build Docker Image

To build and push the image to docker hub:

VERS=v4.0.0
git tag -a $VERS
git push --tag
docker build -t jgoodall/corenlp -t jgoodall/corenlp:$VERS .
docker push jgoodall/corenlp:latest
docker push jgoodall/corenlp:$VERS

Tag summary

Content type

Image

Digest

Size

699.7 MB

Last updated

over 6 years ago

docker pull jgoodall/corenlp