entity-fishing icon indicating copy to clipboard operation
entity-fishing copied to clipboard

No Swedish results? What API endpoint address with local docker image?

Open robertsilen opened this issue 2 months ago • 1 comments

I'm not getting any results (Wikidata Q-codes) with Swedish text, and the language set to Swedish at the moment. I'm accessing the default demo server through spacyfishing in python. I have also tried setting the API end point to http://nerd.huma-num.fr/nerd/service, but that didn't help.

I also tried running entity-fishing locally with a docker image on MacOS. It works fine with language set to Swedish through the browser at http://localhost:8090/ , but I can't figure out what the local api address is for spacyfishing. What should I set it to?

The entity-fishing docker documentation (https://nerd.readthedocs.io/en/latest/docker.html) mentions web services documentation (https://grobid.readthedocs.io/en/latest/Grobid-service/) that indirectly suggests the grobid API is at http://localhost:8070/api/ , but that doesn't work.

Thanks for any help!

robertsilen avatar Apr 10 '24 08:04 robertsilen

Hello @robertsilen

Sorry for the late answer. The local endpoint is http://localhost:8090/service/ So if you indicate:

nlp.add_pipe("entityfishing", config={"api_ef_base": "http://localhost:8090/service/"})

it should work.

kermitt2 avatar May 09 '24 20:05 kermitt2