Extracting Entities and Relations from 5M Court Decisions Without an Expensive LLM Pass

SignificantZebra5883 · reddit · 2026-09-22

A developer processing 5M public Polish court decisions seeks advice on scalable entity/relation extraction: a 13-document pilot already yields 160 distinct entity-type strings (90 singletons), spanning abstract legal concepts that break both a 20k-char 'god schema' and simple NER. Their candidate pipeline uses a small entity extractor plus a fine-tuned relation classifier; prior Jina-embedding nearest-neighbor merging with LLM arbitration worked at small scale, but they fear discovering design errors 250k documents in.

Original post →

More from Research

Research channel →