Owned initiativeLegal data · Provenance

Pakistan Legal Corpus

Structure the law without losing its source.

Status

An engineering initiative. Human line-by-line proofreading is incomplete. Official documents remain authoritative.

Binding constraintPreserve source identity and amendment evidence through every transformation.
01Official document
02Source manifest
03Deterministic parser
04Validated outputs
05Source-linked retrieval
3,200+Source-linked sections of law
3 formatsXML · JSON · Akoma Ntoso
7 gatesValidation before release
IncompleteHuman line-by-line proofreading

Government documents arrive in inconsistent PDFs and scans, with page furniture, numbering conventions, amendments, and varying source locations. Extracting the words alone can separate a provision from its identity and history.

This initiative preserves those relationships in structured data. It does not replace the official instrument or establish complete jurisdictional coverage.

A source manifest records the instrument, jurisdiction, edition, source location, coverage, and content identity. Every downstream representation retains its connection to that manifest.

Deterministic parsing resolves instruments, parts, chapters, sections, subsections, clauses, schedules, and amendment evidence. Clean text and amendment evidence remain separate so readability does not erase history.

03 / Validation

Check every representation.

01Manifest02Source identity03Structure04Cross-format05Provenance06Amendments07Retrieval

Automated checks do not replace human proofreading. The corpus remains incomplete in that respect.

Retrieval carries the structured text, instrument, hierarchy, source location, amendment note, and validation state. Missing coverage and uncertain source relationships must remain visible.

The initiative demonstrates engineering of structure, provenance, and validation. It makes no claim of official status, adoption, complete coverage, or suitability for legal decisions. Consult official documents and a qualified professional for consequential legal use.

Explore the engineering record ↗

Does your data lose meaning on the way to the model?

We build data and retrieval systems that preserve the evidence a useful answer depends on.

Discuss a system
Principal review[email protected]Pakistan · Working internationally