Citation Recovery Lab

SOUTH AFRICAN LEGAL TEXT

Recognise citations.
Recover delivery.

Turn a South African legal passage into structured citations. Follow those writes through a simulated destination outage or worker crash and watch them recover.

INTERACTIVE LAB

SCENARIO FOR NEXT RUN

Choose a scenario, then start the run from the source text panel.

Source text

Use a sample or paste a South African legal passage.

LOAD SAMPLE
83 / 20 000 charactersIllustrative passageMakwanyane judgment

Destination delivery

Separate PostgreSQL destination

Outage simulation off

The worker can attempt delivery to the destination.

0
Pending
0
At destination
0
Failed

Counts update as the worker processes this run.

Recognition results

Matched text, standardised references and delivery state

Run recognition to see the matched citations.

Recovery timeline

Events recorded by the Java service

Delivery and recovery events will appear here.

South African citation benchmark

8 labelled passages scored against the live recognition engine

A small, curated test set covering South African legal references and distractors. A match must agree with the expected citation span, type and standardised text.

Van Vuren footnote3 expected

Judgment excerpt

S v Makwanyane and Another [1995] ZACC 3; 1995 (3) SA 391 (CC); 1995 (6) BCLR 665 (CC).
Van Vuren judgment · footnote 2 (Yacoob J)

Expected

  • [1995] ZACC 3 Neutral citation · [27, 40)
  • 1995 (3) SA 391 (CC) Law report · [42, 62)
  • 1995 (6) BCLR 665 (CC) Law report · [64, 86)
EFF and the Constitution2 expected

Illustrative

Compare [2016] ZACC 11 with section 181(2) of the Constitution of the Republic of South Africa, 1996.
Economic Freedom Fighters v Speaker of the National Assembly

Expected

  • [2016] ZACC 11 Neutral citation · [8, 22)
  • section 181(2) of the Constitution of the Republic of South Africa, 1996 Legislation · [28, 100)
Case and short form2 expected

Illustrative

See [1995] zacc 3 at para 10. Ibid. at para 12.
S v Makwanyane and Another

Expected

  • [1995] zacc 3 at para 10 Neutral citation · [4, 28)Standardised as [1995] ZACC 3 at para 10
  • Ibid. at para 12 Short form · [30, 46)Standardised as [1995] ZACC 3 at para 12
Labour report formats3 expected

Illustrative

See [2016] ZACC 28; [2016] 11 BLLR 1059 (CC); (2016) 37 ILJ 2485 (CC).
TAWUSA obo Ngedle v Unitrans Fuel and Chemical

Expected

  • [2016] ZACC 28 Neutral citation · [4, 18)
  • [2016] 11 BLLR 1059 (CC) Law report · [20, 44)
  • (2016) 37 ILJ 2485 (CC) Law report · [46, 69)
Modern and historical reports3 expected

Illustrative

Campbell v Botha [2008] ZASCA 126; 2009 (1) SA 238 (SCA) cites Lewis & Marks v Middel 1904 TS 291 at 303.
Campbell v Botha and Others

Expected

  • [2008] ZASCA 126 Neutral citation · [17, 33)
  • 2009 (1) SA 238 (SCA) Law report · [35, 56)
  • 1904 TS 291 at 303 Law report · [86, 104)
Administrative justice subsection1 expected

Illustrative

Consider section 6(2) of the Promotion of Administrative Justice Act 3 of 2000.
Promotion of Administrative Justice Act 3 of 2000

Expected

  • section 6(2) of the Promotion of Administrative Justice Act 3 of 2000 Legislation · [9, 78)
Personal information subsection1 expected

Illustrative

Compare s. 11(1) of the Protection of Personal Information Act 4 of 2013.
Protection of Personal Information Act 4 of 2013

Expected

  • s. 11(1) of the Protection of Personal Information Act 4 of 2013 Legislation · [8, 72)Standardised as section 11(1) of the Protection of Personal Information Act 4 of 2013
Docket and date without a citation0 expected

Control

File CCT 143/15 was listed at 10:00 on 31 March 2016.

Expected

None

UNDER THE HOOD

How a citation reaches the destination

  1. 01 · RECOGNISE

    Java rules identify supported cases, statutes and short references.

  2. 02 · SAVE

    PostgreSQL commits the results and their delivery jobs in one transaction.

  3. 03 · DELIVER

    The worker retries failed writes. A stable delivery ID prevents duplicate destination records.