From 72262d4aeec745c2b6098e5b390fe73ae2514edd Mon Sep 17 00:00:00 2001 From: philipp Date: Tue, 20 Feb 2024 15:21:34 +0100 Subject: [PATCH] add stpo --- laws/stpo.toml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 laws/stpo.toml diff --git a/laws/stpo.toml b/laws/stpo.toml new file mode 100644 index 0000000..17537d9 --- /dev/null +++ b/laws/stpo.toml @@ -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 = [ + "", "", + "", "", + "", "", + "" +]