From 2f9120d0a3d04868a171d587c8e1cbecc44bc244 Mon Sep 17 00:00:00 2001 From: wkwong-ribose Date: Fri, 12 Nov 2021 10:32:45 +0800 Subject: [PATCH] Adding two scripts to run Stanford CoreNLP --- scripts/mac.command | 2 ++ scripts/windows.bat | 1 + 2 files changed, 3 insertions(+) create mode 100755 scripts/mac.command create mode 100755 scripts/windows.bat diff --git a/scripts/mac.command b/scripts/mac.command new file mode 100755 index 00000000..10ec7e9f --- /dev/null +++ b/scripts/mac.command @@ -0,0 +1,2 @@ +cd -- "$(dirname "$0")" +java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -quiet -annotators tokenize,ssplit,pos,lemma,parse -port 9000 -timeout 15000 \ No newline at end of file diff --git a/scripts/windows.bat b/scripts/windows.bat new file mode 100755 index 00000000..c59e74f6 --- /dev/null +++ b/scripts/windows.bat @@ -0,0 +1 @@ +java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -quiet -annotators tokenize,ssplit,pos,lemma,parse -port 9000 -timeout 15000 \ No newline at end of file