Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
robertsilen opened this issue Apr 10, 2024 · 1 comment

Comments

@robertsilen
Copy link

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!

@kermitt2
Copy link
Owner

kermitt2 commented May 9, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants