colrev.env.grobid_service.GrobidService

class colrev.env.grobid_service.GrobidService[source]

Bases: object

An environment service for machine readability/annotation (PDF to TEI conversion).

Initialize the instance.

Methods

check_grobid_availability

Check GROBID availability, optionally waiting up to timeout seconds.

start

Start the GROBID service.

Attributes

GROBID_IMAGE

GROBID_URL

HEALTHCHECK_INTERVAL

HEALTHCHECK_TIMEOUT

STARTUP_TIMEOUT

check_grobid_availability(*, wait=True, timeout=180)[source]

Check GROBID availability, optionally waiting up to timeout seconds.

Return type:

bool

start()[source]

Start the GROBID service.

Return type:

None