From c9109999db0f5d787edad1d7c30e979e98b18190 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Fri, 12 Jun 2020 20:29:50 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20dinglehopper:=20Remove=20obsolet?= =?UTF-8?q?e=20normalization-related=20FIXME?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qurator/dinglehopper/cli.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qurator/dinglehopper/cli.py b/qurator/dinglehopper/cli.py index 81acb41..2889e46 100644 --- a/qurator/dinglehopper/cli.py +++ b/qurator/dinglehopper/cli.py @@ -87,10 +87,6 @@ def process(gt, ocr, report_prefix, *, metrics=True): gt_text = extract(gt) ocr_text = extract(ocr) - # FIXME - #gt_text = substitute_equivalences(gt_text) - #ocr_text = substitute_equivalences(ocr_text) - cer, n_characters = character_error_rate_n(gt_text, ocr_text) wer, n_words = word_error_rate_n(gt_text, ocr_text)