add stpo
All checks were successful
CI/CD Pipeline / test (push) Successful in 1m49s

This commit is contained in:
2024-02-20 15:21:02 +01:00
parent f9429af87b
commit 7fb8a46c7b
550 changed files with 2104 additions and 0 deletions

36
data/configs/stpo.toml Normal file
View File

@ -0,0 +1,36 @@
[law]
id = 10002326
name = "Strafprozessordnung (STPO)"
[[law.classifiers]]
name = "Teil"
is_root = true
match_function = "contains"
[[law.classifiers]]
name = "Hauptstück"
is_root = false
match_function = "contains"
[[law.classifiers]]
name = "Abschnitt"
is_root = false
match_function = "contains"
[[law.classifiers]]
name = "numbering"
is_root = false
match_function = "starts_with_number"
[[law.classifiers]]
name = "roman numbering"
is_root = false
match_function = "starts_with_roman_number"
[parser]
remove_strings = [
"<n>", "</n>",
"<i>", "</i>",
"<super>", "</super>",
"<gdash />"
]