--- /dev/null
+#!/usr/bin/env bash
+#
+# Runs Stanford CoreNLP.
+# Simple uses for xml and plain text output to files are:
+# ./corenlp.sh -file filename
+# ./corenlp.sh -file filename -outputFormat text
+
+scriptdir="$HOME/src/stanford-corenlp-full-2013-04-04"
+classpath="$scriptdir/stanford-corenlp-2013-04-04.jar:$scriptdir/stanford-corenlp-2013-04-04-models.jar:$scriptdir/xom.jar:$scriptdir/joda-time.jar"
+args="-Xms512M -Xmx4096M"
+
+echo java -cp \"$scriptdir/*\" ${args} edu.stanford.nlp.pipeline.StanfordCoreNLP $*
+java -cp "$scriptdir/*" ${args} edu.stanford.nlp.pipeline.StanfordCoreNLP $*