[5b4ecd]: / gap-replay / guidelines / scrapers / serve_grobid.sh

Download this file

14 lines (11 with data), 374 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#!/bin/bash
# Download GROBID if directory does not exist
declare -r GROBID_VERSION="0.6.2" # or change to current stable version
if [ ! -d grobid-${GROBID_VERSION} ]; then
wget https://github.com/kermitt2/grobid/archive/${GROBID_VERSION}.zip
unzip "${GROBID_VERSION}.zip"
rm "${GROBID_VERSION}.zip"
fi
# run GROBID
cd grobid-${GROBID_VERSION} || exit
./gradlew run