From 1468b6070b5d8d0c6cdb603f1446c8c918437f4e Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Tue, 26 Nov 2019 17:11:51 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Use=20ocrd-repair-inconsistencie?= =?UTF-8?q?s=20where=20appropriate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- examples/fix-ocr-d-gt-page.sh | 2 +- ocrd_repair_inconsistencies/ocrd_repair_inconsistencies.py | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b380d15..3d056f5 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ set -e 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 g="OCR-D-GT-PAGE/OCR-D-GT-PAGE_${f#${tmp_fg}/${tmp_fg}_}" diff --git a/examples/fix-ocr-d-gt-page.sh b/examples/fix-ocr-d-gt-page.sh index 94c155f..e1d346e 100644 --- a/examples/fix-ocr-d-gt-page.sh +++ b/examples/fix-ocr-d-gt-page.sh @@ -3,7 +3,7 @@ set -e 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 g="OCR-D-GT-PAGE/OCR-D-GT-PAGE_${f#${tmp_fg}/${tmp_fg}_}" diff --git a/ocrd_repair_inconsistencies/ocrd_repair_inconsistencies.py b/ocrd_repair_inconsistencies/ocrd_repair_inconsistencies.py index 8f498c2..78a98e4 100644 --- a/ocrd_repair_inconsistencies/ocrd_repair_inconsistencies.py +++ b/ocrd_repair_inconsistencies/ocrd_repair_inconsistencies.py @@ -17,7 +17,7 @@ from shapely.geometry import Polygon from .config import OCRD_TOOL -TOOL = 'ocrd_repair_inconsistencies' +TOOL = 'ocrd-repair-inconsistencies' LOG = getLogger('processor.RepairInconsistencies') diff --git a/setup.py b/setup.py index f956bf5..9f56fc1 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( }, entry_points={ 'console_scripts': [ - 'ocrd_repair_inconsistencies=ocrd_repair_inconsistencies.cli:ocrd_repair_inconsistencies', + 'ocrd-repair-inconsistencies=ocrd_repair_inconsistencies.cli:ocrd_repair_inconsistencies', ] }, )