add ug
All checks were successful
CI/CD Pipeline / test (push) Successful in 2m12s

This commit is contained in:
philipp 2024-10-07 22:25:03 +02:00
parent 1b49ba1314
commit 4540cedde6

32
data/configs/ug.toml Normal file
View File

@ -0,0 +1,32 @@
[law]
id = 20002128
name = "Universitätsgesetz 2002"
[[law.classifiers]]
name = "Teil"
is_root = true
match_function = "contains"
[[law.classifiers]]
name = " Abschnitt"
is_root = false
match_function = "contains"
[[law.classifiers]]
name = "Unterabschnitt"
is_root = false
match_function = "contains"
[parser]
remove_strings = [
"<n>", "</n>",
"""<abstand ct="text" halign="l" />""",
"<br />",
"<i>", "</i>",
"<u>", "</u>"
]
[[parser.replace_rules]]
find = "<gdash />" # Should be at the same level as the other "Theil"e
replace_with = "-"