add grestg
Some checks failed
CI/CD Pipeline / test (push) Successful in 1m49s
Update CI/CD Pipeline / update (push) Failing after 19m28s

This commit is contained in:
2025-01-10 13:38:54 +01:00
parent 82d7c87162
commit ae00984533
22 changed files with 98 additions and 0 deletions

20
data/configs/grestg.toml Normal file
View File

@ -0,0 +1,20 @@
[law]
id = 10004531
name = "GrEstG"
[parser]
remove_strings = [
"""<tab align="r" position="333.15" leader="p" />""",
"""<tab align="r" position="425.25" leader="p" />""",
"<n>", "</n>"
]
[[parser.replace_rules]]
find = "Einleitung." # Should be at the same level as the other "Theil"e
replace_with = "Nullter Theil. Einleitung"
[[parser.replace_rules]]
find = "<gdash />"
replace_with = "-"