capabilities.work

Parse and Correct Annotations

A 4-step recipe with Affinda. We can help you get access.

Recipe · 4 steps

Parse and Correct Annotations

with Affinda

Parse a document, review its annotations, then batch-correct them.

  1. Upload the file with wait=false so an identifier is returned for polling.
  2. Poll the document until meta.ready becomes true.
  3. List the document's annotations so the parsed fields can be reviewed.
  4. Submit a batch of corrected annotation values to fix extraction mistakes.
What you'll need to have ready
  • workspace: The workspace identifier to upload the document into.
  • file: The document file contents (binary) to upload.
  • annotations: The array of annotation updates to apply.
For your developer

Arazzo workflow affinda:parse-and-correct-annotations, 4 operations: createDocument → getDocument → getAllAnnotations → batchUpdateAnnotations. Specs on APIs.io.