Bundesrecht: An Open Resource for German Statutory Reference Processing
Statutory references are central to legal language understanding, but are difficult to process automatically, as they appear in compact, variable forms, may combine multiple targets, and often point to lower-level units. Existing systems for German focus either on parsing references from legal documents or accessing statutory text once citations are explicit. This paper introduces bundesrecht, an open resource for German statutory reference processing, consisting of a software library and a structured corpus of German federal law. The library parses, normalizes, and resolves German statutory references, mapping raw citation strings to structured objects, expanding compact references, and linking them to statutory provisions. The dataset preserves the internal hierarchy of statutes from laws to fine-granular subclauses. We evaluate the parser and normalizer on 2,944 annotated German legal references using strict exact-match and micro-averaged information extraction metrics, and compare against existing systems, achieving the highest per-field F1. We manually verify resolution against the official statutory text, and show that canonical reference deduplication groups citation surface variants far more reliably than string matching. bundesrecht is the first open resource covering German statutory reference processing end-to-end, from raw citation string to resolved statutory provision, and is available on PyPI.