diff options
| author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2026-07-13 21:33:25 +0200 |
|---|---|---|
| committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2026-07-13 21:33:25 +0200 |
| commit | 51712fc87ec0487bd471f24b2986a367847d24e9 (patch) | |
| tree | 131061eaf3664bfbb2a49abf9a43628e31a33867 /src/main/resources/sampledata/ProdHaftG/ProdHaftG.pdf | |
| parent | b05e44a627b3bbdf6f8b2e920b963709fd348f5a (diff) | |
Recognize compound and multi-pair amendment commands
Split BefehlErkenner into a single-command pass and a fallback that
composes Sammelbefehle from commands chained with "und"/", wird":
- Multi-pair replacement ("… A durch B und C durch D ersetzt") emits one
Ersetzung per pair, crossed with the (possibly coordinated) Stelle.
- Verbund splitter probes each "und"/", wird" boundary; when both halves
parse — trying the right clause as-is, capitalized, or with the left
clause's locative prefix — it folds them into one Sammelbefehl.
The single pass no longer short-circuits when a pattern matches but its
Stelle is unparseable, so the fallback still gets a chance. Add
"ein Komma eingefügt" and anchor-first insertion patterns the splitter
needs, and let StellenParser.parseMehrfach inherit the component type for
bare-number continuations ("Absatz 1 und 5").
Cuts UnbekannterBefehl counts: GEG 50->36, IfSG 11->7, AGG/UWG 2->1.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Change-Id: I8f76edd0c9ed6cf68c10c50f535a8182e13e378e
Diffstat (limited to 'src/main/resources/sampledata/ProdHaftG/ProdHaftG.pdf')
0 files changed, 0 insertions, 0 deletions
