Public Repository

Last pushed: 2 years ago
Short Description
Stanford CoreNLP dockerized
Full Description

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
Docker Pull Command
Owner
oaraque