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', ] }, )