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([])