This commit is contained in:
parent
bc6a6f0624
commit
2b72ad6296
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -547,7 +547,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "risp"
|
name = "risp"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://git.hofer.link/philipp/risp.git#01238e6c34f4137881d23535807af5097d338ebe"
|
source = "git+https://git.hofer.link/philipp/risp.git#8314b5a61dfafb40da425f31eddd6ad6e25e6d15"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"directories",
|
"directories",
|
||||||
|
52
laws/euv.toml
Normal file
52
laws/euv.toml
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
[law]
|
||||||
|
id = 10008048
|
||||||
|
name = "EUV"
|
||||||
|
par_sign = "ARTIKEL"
|
||||||
|
|
||||||
|
[[law.classifiers]]
|
||||||
|
name = "Titel"
|
||||||
|
is_root = true
|
||||||
|
match_function = "contains"
|
||||||
|
|
||||||
|
[[law.classifiers]]
|
||||||
|
name = "Kapitel"
|
||||||
|
is_root = false
|
||||||
|
match_function = "contains"
|
||||||
|
|
||||||
|
[[law.classifiers]]
|
||||||
|
name = "Abschnitt"
|
||||||
|
is_root = false
|
||||||
|
match_function = "contains"
|
||||||
|
|
||||||
|
[parser]
|
||||||
|
remove_strings = [
|
||||||
|
"<tab />",
|
||||||
|
"<br />",
|
||||||
|
"<b>", "</b>",
|
||||||
|
"<i>", "</i>",
|
||||||
|
"<n>", "</n>",
|
||||||
|
"<super>", "</super>",
|
||||||
|
"""<abstand ct="text" halign="l" />"""
|
||||||
|
]
|
||||||
|
move_para_headers_into_content = true
|
||||||
|
|
||||||
|
[[parser.replace_rules]]
|
||||||
|
find = "<gdash />"
|
||||||
|
replace_with = "-"
|
||||||
|
|
||||||
|
[[parser.replace_rules]]
|
||||||
|
find = "Artikel 7"
|
||||||
|
replace_with = "ARTIKEL 7"
|
||||||
|
|
||||||
|
[[parser.replace_rules]]
|
||||||
|
find = "Artikel 38"
|
||||||
|
replace_with = "ARTIKEL 38"
|
||||||
|
|
||||||
|
[[parser.replace_rules]]
|
||||||
|
find = "Artikel 42"
|
||||||
|
replace_with = "ARTIKEL 42"
|
||||||
|
|
||||||
|
[[parser.replace_rules]]
|
||||||
|
find = "+ARTIKEL 48"
|
||||||
|
replace_with = "ARTIKEL 48"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user