risp/data/configs/mschg.toml

54 lines
1.9 KiB
TOML
Raw Normal View History

2024-02-06 10:17:14 +01:00
[law]
2024-02-06 11:18:40 +01:00
id = 10002180
2024-02-17 10:40:00 +01:00
name = "Markenschutzgesetz"
2024-02-06 10:17:14 +01:00
[[law.classifiers]]
name = "Abschnitt"
2024-02-06 11:18:40 +01:00
is_root = true
2024-02-06 10:17:14 +01:00
match_function = "contains"
[[law.classifiers]]
name = "Number"
2024-02-06 11:18:40 +01:00
is_root = false
2024-02-06 10:17:14 +01:00
match_function = "starts_with_number"
2024-02-21 14:23:23 +01:00
[[law.classifiers]]
name = "Artikel"
is_root = false
match_function = "contains"
2024-02-06 10:17:14 +01:00
[parser]
2024-02-21 14:23:23 +01:00
remove_strings = [
"<i>", "</i>",
"<n>", "</n>",
]
2024-02-06 10:17:14 +01:00
[[parser.replace_rules]]
find = "<super>bis</super>"
replace_with = "bis"
[[parser.replace_rules]]
find = "<super>ter</super>"
replace_with = "ter"
[[parser.replace_rules]]
find = "<gdash />"
replace_with = "-"
[[parser.replace_rules]]
find = "(Anm.: § 69 aufgehoben durch Art. 1 Z 12, BGBl. I Nr. 124/2017)"
replace_with = "<gldsym>§ 69.</gldsym>(Anm.: § 69 aufgehoben durch Art. 1 Z 12, BGBl. I Nr. 124/2017)"
2024-02-21 14:23:23 +01:00
[[parser.replace_rules]]
find = """<ueberschrift typ="art" ct="text" halign="c">(Anm.: aus BGBl. Nr. 350/1977, zu den §§ 11, 33a, 34, 55, BGBl. Nr. 260/1970)</ueberschrift>"""
replace_with = """<ueberschrift typ="para" ct="text" halign="c">(Anm.: aus BGBl. Nr. 350/1977, zu den §§ 11, 33a, 34, 55, BGBl. Nr. 260/1970)</ueberschrift>"""
[[parser.replace_rules]]
find = """<ueberschrift typ="art" ct="text" halign="c">(Anm.: aus BGBl. Nr. 350/1977, zu den §§ 18 Abs. 3, 22, 28 u. 63, BGBl. Nr. 260/1970)</ueberschrift>"""
replace_with = """<ueberschrift typ="para" ct="text" halign="c">(Anm.: aus BGBl. Nr. 350/1977, zu den §§ 18 Abs. 3, 22, 28 u. 63, BGBl. Nr. 260/1970)</ueberschrift>"""
[[parser.replace_rules]]
find = """<ueberschrift typ="art" ct="text" halign="c">(Anm.: aus BGBl. Nr. 653/1987, zu den §§ 18 Abs. 1, 2 u. 4 und den §§ 40 Abs. 1 u. 70 Abs. 1, BGBl. Nr. 260/1970)</ueberschrift>"""
replace_with = """<ueberschrift typ="para" ct="text" halign="c">(Anm.: aus BGBl. Nr. 653/1987, zu den §§ 18 Abs. 1, 2 u. 4 und den §§ 40 Abs. 1 u. 70 Abs. 1, BGBl. Nr. 260/1970)</ueberschrift>"""