add configs for laws
All checks were successful
CI/CD Pipeline / test (push) Successful in 2m23s

This commit is contained in:
2024-02-06 11:18:40 +01:00
parent 15e0e485c4
commit c92d72c580
8 changed files with 173 additions and 184 deletions

View File

@@ -1,21 +1,19 @@
[law]
id = "10002180"
id = 10002180
[[law.classifiers]]
name = "Abschnitt"
is_root = true
match_function = "contains"
[[law.classifiers]]
name = "Number"
is_root = false
match_function = "starts_with_number"
[parser]
remove_strings = ["<i>", "</i>"]
[[parser.replace_rules]]
find = "\\u{a0}"
replace_with = " "
[[parser.replace_rules]]
find = "<super>bis</super>"
replace_with = "bis"