add config for law texts, fixes #3
All checks were successful
CI/CD Pipeline / test (push) Successful in 9m17s
All checks were successful
CI/CD Pipeline / test (push) Successful in 9m17s
This commit is contained in:
34
data/configs/mschg.toml
Normal file
34
data/configs/mschg.toml
Normal file
@ -0,0 +1,34 @@
|
||||
[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)"
|
||||
|
Reference in New Issue
Block a user