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.
- Upload the file with wait=false so an identifier is returned for polling.
- Poll the document until meta.ready becomes true.
- List the document's annotations so the parsed fields can be reviewed.
- 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.