mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-04 02:39:51 +02:00
🎨 Put validate options into a variable
This commit is contained in:
parent
5ece7f1b0a
commit
c8039db686
1 changed files with 6 additions and 1 deletions
|
@ -22,7 +22,12 @@ remove_filegrp() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_validate() {
|
do_validate() {
|
||||||
ocrd workspace validate --skip dimension --skip pixel_density --page-strictness lax --page-coordinate-consistency off mets.xml
|
validate_options="
|
||||||
|
--skip dimension
|
||||||
|
--skip pixel_density
|
||||||
|
--page-strictness lax
|
||||||
|
--page-coordinate-consistency off"
|
||||||
|
ocrd workspace validate $validate_options
|
||||||
# XXX ocrd-tesserocr INCONSISTENCY in TextRegion → use "--page-strictness lax" for now
|
# XXX ocrd-tesserocr INCONSISTENCY in TextRegion → use "--page-strictness lax" for now
|
||||||
# XXX INVALIDITY in Glyph ID etc. in GT → --page-coordinate-consistency off
|
# XXX INVALIDITY in Glyph ID etc. in GT → --page-coordinate-consistency off
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue