aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
Commit message (Collapse)AuthorAgeFilesLines
* Support Bavarian state law (BayJG) with Art./§ inversion and superscriptsMatthias Andreas Benkard2026-07-192-0/+580
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend ÄndGgner from federal-only to Bavarian state law. Bavarian base laws are structured in Artikel while their amending acts are structured in Paragraphen (inverted from the Bund); official sentence numbers and footnote markers are carried as Unicode superscripts (¹²³, ⁶)). - Generalise Stelle.Paragraph to carry a sigil ("§" or "Art.") and route it through recogniser, applier and resolver (bit-identical Bund output). - Superscript pipeline: geometric detection in FontgroessenFilter (SuperskriptModus BEHALTEN), Superskript util, exact sentence splitting in SatzTeiler, label-based sentence resolution. - BayRechtLoader/BayRechtTextParser for gesetze-bayern.de PDF/plaintext. - §-structured amending acts, GVBl/Landtag column titles, non-breaking spaces, the GVBl continuation quote; Bavarian command forms (footnote aufhebung, Satznummerierung streichung, Wortlaut forms, Halbsatz, gapping chains). Acceptance (EndToEndTest.bayJgGvblAcceptance): the pre-2026 BayJG fassung (BayJG-alt.txt, reconstructed from Wayback single-article snapshots) with GVBl 6/2026 §§ 1-2 applied — 154 commands, 0 unknown, 149 applied automatically, 5 pinned residuals (follow-up edits inside two multi-step renumbering sequences in Art. 29a and Art. 56). Application-side fixes surfaced by the acceptance run (all Bund-safe): sentence-start superscript before §; sentence boundaries = {0} ∪ {each number ≥ 2}; gapping scope inheritance for bare word operations; footnote definition lines hidden from word operations; absatz aufhebung marks "(weggefallen)" keeping its number, and absatz renumbering overwrites an empty placeholder (weggefallen/gegenstandslos) target. 211 tests green (mvnw verify); federal reference numbers unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Change-Id: Iebae4c17ca90755c5fd36251362042f3d5796fd0
* Add AGG, BayJG, GEG, ProdHaftG, and UWG sample data.Matthias Andreas Benkard2026-07-1342-0/+29415
| | | | | | | | | | | | | | | | | | | | Five new datasets with provenance in SOURCES files: * UWG: 3. UWGAendG (BGBl. 2026 I Nr. 43) in the new digital BGBl format, plus drafts. * GEG: the 2023 "Heizungsgesetz" (BGBl. 2023 I Nr. 280, new format) and the pending GModG 2026 drafts. * AGG: 2. AGGAendG drafts (RefE/RegE/BT-Drs 21/6178) -- the base XML predates the bill, so this dataset produces real diffs -- and the official BMJV synopsis as ground truth. * ProdHaftG: product-liability modernization drafts (Artikel 1 is a replacement act, Artikel 2 amends the old law), with official synopsis. * BayJG: Bavarian hunting-law amendment (GVBl. 2026 S. 113) -- state law is not yet supported by the tool; kept for future work. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Change-Id: I8c33b6a19178f73cece9c9da99c713009016e578
* Add IfSG sample data.Matthias Andreas Benkard2026-07-1311-0/+2354
| | | | | | | | | | | The Infektionsschutzgesetz as gii-norm XML, EPUB, and PDF (consolidated as of 2020-11-20, i.e. already including the Art. 1 changes below), the Drittes Bevoelkerungsschutzgesetz (BGBl. I 2020 S. 2397) as published, and the Bundestag/Bundesrat drafting documents, with provenance URLs in SOURCES. Used by the end-to-end smoke test. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Change-Id: I1221734ea3e3dab705151421774151438be1b337
* Modernize build: Java 21, Tika 3, PDFBox 3, JUnit 5.Matthias Andreas Benkard2026-07-131-32/+0
| | | | | | | | | | | | | | Bump all dependencies and plugins to current versions. Replace the tika-parsers bundle with a direct PDFBox dependency (we need PDFTextStripper control), add java-diff-utils for the synopsis diff, and add JUnit 5 with AssertJ for testing. Drop unused dependencies (tess4j, Lanterna, term4j, sqlite-jdbc, imageio codecs, annotation libraries) in favour of jspecify. Regenerate the Maven wrapper with the official plugin (Takari is dead) and remove the vestigial Ant wrapper and Tika configuration. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Change-Id: I0e1813b3967027cbb0bb978591d345ce138fa0a0
* Configure Tika correctly.Matthias Andreas Benkard2020-12-062-0/+49
With the new configuration, Tika can now extract text from PDFs and XML documents. Also configures logging for the application. Change-Id: I7a89c2b232ed4e220665dd335a5f5a0cc3ef2994