Sign inSign up

oaraque/corenlp

By oaraque

•Updated over 10 years ago

Stanford CoreNLP dockerized

Image
0

932

oaraque/corenlp repository overview

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

Tag summary

Content type

Image

Digest

Size

809.2 MB

Last updated

over 10 years ago

docker pull oaraque/corenlp