LEVEL 2 · BUILDER

Document Extraction Review Desk

Extract structured fields from a text document, inspect exact source spans, and approve ambiguous values before export.

4 stages~8 hoursPythoncore
Define the fields before extracting valuesExtract candidates without losing their evidenceBind approval to one document versionShow evidence and export reviewed values
YOU END UP WITH

A local HTML review desk that downloads source-bound approval decisions and an approved JSON value map.

USEFUL FOR
  • Use your own input to produce a reviewable artifact another application can consume.
WHY THESE LANGUAGES
  • Python Standard-library parsing, explicit contracts and portable artifacts keep the mechanism visible.
PROJECT OUTLINE

Document Extraction Review Desk in 4 stages

Extract structured fields from a text document, inspect exact source spans, and approve ambiguous values before export.

  1. Define the fields before extracting values

    validate_schema(schema)

    starter · ~2 hours · Python

    Define the fields before extracting values
  2. Extract candidates without losing their evidence

    extract_candidates(text, schema)

    core · ~2 hours · Python

    Extract candidates without losing their evidence
  3. Bind approval to one document version

    typed_value(quote, kind); review_document(text, schema, candidates, decisions=None)

    core · ~2 hours · Python

    Bind approval to one document version
  4. Show evidence and export reviewed values

    render_review(report)

    stretch · ~2 hours · Python

    Show evidence and export reviewed values

Lessons this project uses

All projects · Course catalog · Source on GitHub