Install, build and run¶
entity-fishing requires JDK 1.8 and maven 3. It supports Linux-64 and Mac OS environments. Below, we make available the LMDB binary data for these two architectures.
Running the service requires at least 2GB of RAM, but more RAM will be exploited if available for speeding up access to the compiled Wikidata and Wikipedia data (including Wikidata statements associated to entities). After decompressing all the index data, 34 GB of disk space will be used - be sure to have enough free space. SSD is recommended for best performance and experience.
The path to grobid-home shall indicated in the file src/main/resource/nerd.properties, for instance:
$ git clone https://github.com/kermitt2/nerd
Then install the compiled indexed data:
Download the zipped data files corresponding to your environment (warning: total around 10 GB) at the following address:
- https://s3.eu-central-1.amazonaws.com/storagescienceminer/NERD/lmdb/db-kb.osx.zip (1.8 GB)
- https://s3.eu-central-1.amazonaws.com/storagescienceminer/NERD/lmdb/db-en.osx.zip (5.3 GB)
- https://s3.eu-central-1.amazonaws.com/storagescienceminer/NERD/lmdb/db-fr.osx.zip (1.8 GB)
- https://s3.eu-central-1.amazonaws.com/storagescienceminer/NERD/lmdb/db-de.osx.zip (2 GB)
Unzip the 4 (or 5) archives files under
This will install four sub-directories
data/wikipedia/db-fr/. The uncompressed data is about 34 GB.
Build the project, under the NERD project repository.
$ mvn clean install
Some tests will be executed. If all tests are successful, you should be now ready to run the service.
Run the service with Jetty:
$ mvn -Dmaven.test.skip=true jetty:run-war
The test console is available at port
:8090 by opening in your browser (preferably Firefox or Chrome, Internet Explorer has not been tested): http://localhost:8090
For more information, see the next section on the entity-fishing Console.