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