[corenlp] upgrade to 4.5.8

parent 74659ca3
...@@ -3,13 +3,14 @@ ...@@ -3,13 +3,14 @@
# releases are here: # releases are here:
# https://stanfordnlp.github.io/CoreNLP/history.html # https://stanfordnlp.github.io/CoreNLP/history.html
VERSION=4.5.4 VERSION=4.5.8
FILE="stanford-corenlp-${VERSION}.zip" FILE="stanford-corenlp-${VERSION}.zip"
DIR_V="stanford-corenlp-${VERSION}" DIR_V="stanford-corenlp-${VERSION}"
DIR="stanford-corenlp-current" DIR="stanford-corenlp-current"
URL="http://nlp.stanford.edu/software/${FILE}" URL="http://nlp.stanford.edu/software/${FILE}"
[ ! -f ${FILE} ] && echo 'Fetching file' && wget ${URL} -O ${FILE} # https://www.digitalocean.com/community/tutorials/workflow-downloading-files-curl
[ ! -f ${FILE} ] && echo 'Fetching file' && curl -L -o ${FILE} ${URL}
[ ! -d ${DIR_V} ] && echo 'Unzipping file' && unzip ./${FILE} [ ! -d ${DIR_V} ] && echo 'Unzipping file' && unzip ./${FILE}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment