Closed TheoDlmz closed 4 years ago
Hi Theo,
Yes it doesn't work... It was from a PR https://github.com/kermitt2/grobid-client-python/pull/4, but then I didn't test the usage as a module.
After this install I have indeed the module listed with pip
> pip list
...
grobid-client-python (0.0.1)
...
but I don't manage to import it (maybe the dash in the name). I'll remove this method 2, sorry.
Thanks for your response! No problem. I finally imported only the client.py as in grobid-client-python.py to get what I wanted.
Yes it's the easiest way ! I modified the readme and put an example of import test.py
.
(to be honest this client is half done ;) we should make a proper module, remove the dash, add more Grobid services...)
Hi, I would like to call Grobid directly from Python but after doing the above code, I can't find any library related to Grobid in my pip environment. What is the name of this library? On the sites-packages folder, I only have a grobid_client_python-0.0.1.dist-info folder which contains metadata about the library.
Thanks by advance