From 49b6dfe7353beff1f659a081201716bf183bfcbe Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 19 Dec 2019 16:30:11 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Clean=20up=20trailing=20whitespa?= =?UTF-8?q?ce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ocrd_calamari/recognize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocrd_calamari/recognize.py b/ocrd_calamari/recognize.py index c5a6b12..fc21a12 100644 --- a/ocrd_calamari/recognize.py +++ b/ocrd_calamari/recognize.py @@ -85,7 +85,7 @@ class CalamariRecognize(Processor): if line.get_TextEquiv(): log.warning("Line '%s' already contained text results", line.id) line.set_TextEquiv([TextEquivType(Unicode=line_text, conf=line_conf)]) - + if line.get_Word(): log.warning("Line '%s' already contained word segmentation", line.id) line.set_Word([])