kermitt2 / entity-fishing

A machine learning tool for fishing entities
http://nerd.readthedocs.io/
Apache License 2.0
249 stars 24 forks source link

not able to build entity-fishing #148

Closed angelosalatino closed 2 years ago

angelosalatino commented 2 years ago

Hi, I am following the guide here: https://nerd.readthedocs.io/en/latest/build.html

I am at the stage in which I am building entity fishing, and I get the following error: BUILD FAILED.

113 tests completed, 27 failed, 6 skipped

> Task :test FAILED

FAILURE: Build failed with an exception.

The current version of Gradle I am using is 7.1.1. JDK: java-11-openjdk.x86_64

Do you have any suggestion on how to get it running?

Thank you very much in advance.

Best regards

Here is a more comprehensive output from the terminal: https://pastebin.com/WhSSNeC6 (I used pastebin, because github won't allow me to paste such long text)

kermitt2 commented 2 years ago

Hi @angelosalatino !

From the test errors, it seems that Grobid is not installed and/or the grobid-home path is not indicated in the entity-fishing config file.

Grobid and grobid-ner are required to have entity-fishing building and running.

(note: I am working on a Docker image for entity-fishing, because build and run is not straightfoward as you can see ;) )

angelosalatino commented 2 years ago

Hi @kermitt2,

I managed to get it going. Yes the grobid-home path was wrong. Then, I am not sure if this influences, I added all the languages of the model. Before I was trying only with the english language.

Thank you