sparknlp.reader.layout_aligner_for_text#
Module Contents#
Classes#
Rebuilds final text by combining aligned document chunks and image captions. |
- class LayoutAlignerForText[source]#
Rebuilds final text by combining aligned document chunks and image captions.
This transformer is designed to consume
aligned_doc+image_captionpairs and produce coherent text output with re-computedbeginandendindexes.Input Annotation types
Output Annotation type
DOCUMENT, DOCUMENTDOCUMENT