mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-26 20:14:47 +00:00
reformatted code
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
This commit is contained in:
parent
2f66248605
commit
eee4afe8cf
@ -344,7 +344,7 @@ class ReadingOrderModel:
|
||||
new_item.text += f" {merged_elem.text}"
|
||||
new_item.orig += f" {merged_elem.text}" # TODO: This is incomplete, we don't have the `orig` field of the merged element.
|
||||
new_item.prov.append(prov)
|
||||
|
||||
|
||||
def __call__(self, conv_res: ConversionResult) -> DoclingDocument:
|
||||
with TimeRecorder(conv_res, "reading_order", scope=ProfilingScope.DOCUMENT):
|
||||
page_elements = self._assembled_to_readingorder_elements(conv_res)
|
||||
|
Loading…
Reference in New Issue
Block a user