kermitt2 / grobid_client_python

Python client for GROBID Web services
Apache License 2.0
275 stars 74 forks source link

Add options to GrobidClient constructor #31

Closed elya5 closed 3 years ago

elya5 commented 3 years ago

These two commits add parameters to the GrobidClient class which add the possibility to use the class without a config file. Furthermore, the server test is optional and raises an exception instead of ending the program. This is especially helpful when creating more GrobidClient instances.

kermitt2 commented 3 years ago

Thank you very much for the improvements @elya5 !