mirror of
https://github.com/mikegerber/ocrd_calamari.git
synced 2025-06-26 20:19:53 +02:00
🧹 Clean up trailing whitespace
This commit is contained in:
parent
95281f3d29
commit
49b6dfe735
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class CalamariRecognize(Processor):
|
||||||
if line.get_TextEquiv():
|
if line.get_TextEquiv():
|
||||||
log.warning("Line '%s' already contained text results", line.id)
|
log.warning("Line '%s' already contained text results", line.id)
|
||||||
line.set_TextEquiv([TextEquivType(Unicode=line_text, conf=line_conf)])
|
line.set_TextEquiv([TextEquivType(Unicode=line_text, conf=line_conf)])
|
||||||
|
|
||||||
if line.get_Word():
|
if line.get_Word():
|
||||||
log.warning("Line '%s' already contained word segmentation", line.id)
|
log.warning("Line '%s' already contained word segmentation", line.id)
|
||||||
line.set_Word([])
|
line.set_Word([])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue