risp/data/configs/mschg.toml
philipp 15e0e485c4
All checks were successful
CI/CD Pipeline / test (push) Successful in 9m17s
add config for law texts, fixes #3
2024-02-06 10:17:14 +01:00

35 lines
690 B
TOML

[law]
id = "10002180"
[[law.classifiers]]
name = "Abschnitt"
match_function = "contains"
[[law.classifiers]]
name = "Number"
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"
[[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)"