Install GROBID

Getting GROBID

Latest stable release

The latest stable release of GROBID is version 0.5.0 which can be downloaded as follow:

> wget https://github.com/kermitt2/grobid/archive/0.5.0.zip
> unzip 0.5.0.zip

or using the docker container.

Current development version

The current development version is 0.5.1-SNAPSHOT, which can be downloaded from GitHub and built as follow:

Clone source code from github:

> git clone https://github.com/kermitt2/grobid.git

Or download directly the zip file:

> wget https://github.com/kermitt2/grobid/zipball/master
> unzip master

Build GROBID

Please make sure that grobid is installed in a path with no parent directories containing spaces.

Build GROBID with Gradle

The standard method for building GROBID is to use gradle. Under the main directory grobid/:

> ./gradlew clean install

By default, tests are ignored. For building the project and running the tests, use:

> ./gradlew clean install test

Use GROBID

From there, the easiest and most efficient way to use GROBID is the web service mode. You can also use the tool in batch mode or integrate it in your Java project via the Java API.