Stanford CoreNLP command-line dockerized. Image created from this Dockerfile (https://github.com/oaraque/sentiment-analysis/blob/master/coreNLP/Dockerfile).
To use it, mount the input, output and properties file. For example, for sentiment analysis:
docker run --rm \
-v $(pwd)/input.txt:/input.txt \
-v $(pwd)/output.txt:/input.txt.out \
-v $(pwd)/props.properties:/corenlp/props.properties \
-e -Xmx4g \
oaraque/corenlp:latest
With the props.properties:
annotators = tokenize, ssplit, parse, sentiment
ssplit.eolonly = true
outputExtension = .out
outputDirectory = /
file = /input.txt
Content type
Image
Digest
Size
809.2 MB
Last updated
over 10 years ago
docker pull oaraque/corenlp