Skip to content

Add PDF annotation services in CLI #111

Open
lfoppiano wants to merge 1 commit into
masterfrom
feature/issue-79-annotation-services
Open

Add PDF annotation services in CLI #111
lfoppiano wants to merge 1 commit into
masterfrom
feature/issue-79-annotation-services

Conversation

@lfoppiano

Copy link
Copy Markdown
Member

Wire the GROBID PDF annotation endpoints into the CLI and batch pipeline. Each service declares its own Accept header, output suffix and write mode:

  • referenceAnnotations -> application/json, *.references.json
  • citationPatentAnnotations -> application/json, *.patent-citations.json
  • annotatePDF -> application/pdf (binary), *.annotated.pdf

The TEI -> JSON/Markdown conversion is skipped for these services. Documented in the Readme and covered by unit tests.

Closes #79

…ionPatentAnnotations)

Wire the GROBID PDF annotation endpoints into the CLI and batch pipeline.
Each service declares its own Accept header, output suffix and write mode:

- referenceAnnotations       -> application/json, *.references.json
- citationPatentAnnotations  -> application/json, *.patent-citations.json
- annotatePDF                -> application/pdf (binary), *.annotated.pdf

The TEI -> JSON/Markdown conversion is skipped for these services. Documented
in the Readme and covered by unit tests.

Closes #79
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

Successfully merging this pull request may close these issues.

Adding PDF annotation services

1 participant