File size: 420 Bytes
bb41ac8
 
 
 
 
 
 
84b6f5b
bb41ac8
 
351251e
 
 
 
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
  sudo chmod 777 "${GROBID_VERSION}.zip"
  unzip "${GROBID_VERSION}.zip"
  rm "${GROBID_VERSION}.zip"
fi
cd grobid-${GROBID_VERSION} || exit
sudo chmod 777 gradlew
./gradlew