🐛 Use ocrd-repair-inconsistencies where appropriate

This commit is contained in:
Gerber, Mike 2019-11-26 17:11:51 +01:00
parent 2205a4469c
commit 1468b6070b
4 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ set -e
tmp_fg=FIXED_$RANDOM tmp_fg=FIXED_$RANDOM
ocrd_repair_inconsistencies -I OCR-D-GT-PAGE -O $tmp_fg ocrd-repair-inconsistencies -I OCR-D-GT-PAGE -O $tmp_fg
for f in "$tmp_fg"/*; do for f in "$tmp_fg"/*; do
g="OCR-D-GT-PAGE/OCR-D-GT-PAGE_${f#${tmp_fg}/${tmp_fg}_}" g="OCR-D-GT-PAGE/OCR-D-GT-PAGE_${f#${tmp_fg}/${tmp_fg}_}"

View file

@ -3,7 +3,7 @@ set -e
tmp_fg=FIXED_$RANDOM tmp_fg=FIXED_$RANDOM
ocrd_repair_inconsistencies -I OCR-D-GT-PAGE -O $tmp_fg ocrd-repair-inconsistencies -I OCR-D-GT-PAGE -O $tmp_fg
for f in "$tmp_fg"/*; do for f in "$tmp_fg"/*; do
g="OCR-D-GT-PAGE/OCR-D-GT-PAGE_${f#${tmp_fg}/${tmp_fg}_}" g="OCR-D-GT-PAGE/OCR-D-GT-PAGE_${f#${tmp_fg}/${tmp_fg}_}"

View file

@ -17,7 +17,7 @@ from shapely.geometry import Polygon
from .config import OCRD_TOOL from .config import OCRD_TOOL
TOOL = 'ocrd_repair_inconsistencies' TOOL = 'ocrd-repair-inconsistencies'
LOG = getLogger('processor.RepairInconsistencies') LOG = getLogger('processor.RepairInconsistencies')

View file

@ -17,7 +17,7 @@ setup(
}, },
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
'ocrd_repair_inconsistencies=ocrd_repair_inconsistencies.cli:ocrd_repair_inconsistencies', 'ocrd-repair-inconsistencies=ocrd_repair_inconsistencies.cli:ocrd_repair_inconsistencies',
] ]
}, },
) )