2024-02-06 12:47:29 +01:00
[ law ]
id = 10001622
2024-02-17 10:40:00 +01:00
name = "ABGB"
2024-02-06 12:47:29 +01:00
[ [ law . classifiers ] ]
name = "Theil"
is_root = true
2024-02-16 11:39:45 +01:00
match_function = "contains"
2024-02-06 12:47:29 +01:00
2024-02-20 19:45:02 +01:00
#[[law.classifiers]]
#name = "Abtheilung"
#is_root = false
#match_function = "contains"
2024-02-06 12:47:29 +01:00
[ [ law . classifiers ] ]
name = "Hauptstück"
is_root = false
match_function = "contains"
[ [ law . classifiers ] ]
name = "Abschnitt"
is_root = false
match_function = "contains"
[ [ law . classifiers ] ]
name = "letter"
is_root = false
match_function = "starts_with_letter"
[ [ law . classifiers ] ]
name = "roman numbering"
is_root = false
match_function = "starts_with_roman_number"
[ [ law . classifiers ] ]
name = "numbering"
is_root = false
match_function = "starts_with_number"
2024-02-06 13:10:59 +01:00
[ [ law . classifiers ] ]
name = "dash"
is_root = false
match_function = "starts_with_dash"
2024-02-06 12:47:29 +01:00
[ parser ]
remove_strings = [
"<tab />" ,
"<b>" , "</b>" ,
"<i>" , "</i>" ,
"<n>" , "</n>" ,
2024-02-06 13:10:59 +01:00
"" "<ueberschrift typ=" g1 " ct=" text " halign=" c ">Zweyter Theil.</ueberschrift>" "" , # weird thing after § 858
2024-02-06 12:47:29 +01:00
]
[ [ parser . replace_rules ] ]
2024-02-16 11:33:38 +01:00
find = "Einleitung." # Should be at the same level as the other "Theil"e
2024-02-06 12:47:29 +01:00
replace_with = "Nullter Theil. Einleitung"
[ [ parser . replace_rules ] ]
find = "<gdash />"
replace_with = "-"
[ [ parser . replace_rules ] ]
find = "" "<ueberschrift typ=" g1 " ct=" text " halign=" c ">Medizinische Behandlung</ueberschrift>" ""
2024-02-06 13:10:59 +01:00
replace_with = "" "<ueberschrift typ=" g1 " ct=" text " halign=" c ">- Medizinische Behandlung</ueberschrift>" ""
2024-02-06 12:47:29 +01:00
2024-02-16 11:33:38 +01:00
[ [ parser . replace_rules ] ]
find = "" "<ueberschrift typ=" g1min " ct=" text " halign=" c ">Von den dinglichen Rechten.</ueberschrift>" ""
replace_with = "" "<ueberschrift typ=" g2 " ct=" text " halign=" c ">Von den dinglichen Rechten.</ueberschrift>" ""
[ [ parser . replace_rules ] ]
find = "" "<ueberschrift typ=" para " ct=" text " halign=" c ">Erfordernisse zur Ersitzung:</ueberschrift>" ""
replace_with = "" "<ueberschrift typ=" g1 " ct=" text " halign=" c ">I. Erfordernisse zur Ersitzung:</ueberschrift>" ""
# RIS uses multiple headers to get more attention...
2024-02-06 12:47:29 +01:00
[ [ parser . replace_rules ] ]
find = "" "<ueberschrift typ=" g1 " ct=" text " halign=" c ">Zweyter Theil</ueberschrift><ueberschrift typ=" g1 " ct=" text " halign=" c ">des</ueberschrift><ueberschrift typ=" g1 " ct=" text " halign=" c ">bürgerlichen Gesetzbuches.</ueberschrift><ueberschrift typ=" g1 " ct=" text " halign=" c ">Von dem Sachenrechte.</ueberschrift>" ""
replace_with = "" "<ueberschrift typ=" g1 " ct=" text " halign=" c ">Zweyter Theil des bürgerlichen Gesetzbuches: Von dem Sachenrechte.</ueberschrift>" ""
[ [ parser . replace_rules ] ]
find = "" "<ueberschrift typ=" g1 " ct=" text " halign=" c ">Erste Abtheilung</ueberschrift><ueberschrift typ=" g2 " ct=" text " halign=" c ">des Sachenrechtes.</ueberschrift>" ""
replace_with = "" "<ueberschrift typ=" g1 " ct=" text " halign=" c ">Erste Abtheilung des Sachenrechtes.</ueberschrift>" ""
[ [ parser . replace_rules ] ]
find = "" "<ueberschrift typ=" g1 " ct=" text " halign=" c ">Dritter Theil</ueberschrift><ueberschrift typ=" g1min " ct=" text " halign=" c ">des</ueberschrift><ueberschrift typ=" g1min " ct=" text " halign=" c ">bürgerlichen Gesetzbuches.</ueberschrift><ueberschrift typ=" g1 " ct=" text " halign=" c ">Von den gemeinschaftlichen Bestimmungen der Personen- und Sachenrechte.</ueberschrift>" ""
replace_with = "" "<ueberschrift typ=" g1 " ct=" text " halign=" c ">Dritter Theil des bürgerlichen Gesetzbuches.</ueberschrift><ueberschrift typ=" g2 " ct=" text " halign=" c ">Von den gemeinschaftlichen Bestimmungen der Personen- und Sachenrechte.</ueberschrift>" ""