File size: 377 Bytes
bb41ac8
 
 
 
 
 
 
 
 
 
 
 
 
eda507d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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 &