Skip to content

[Bee] Incorrect reading order for Key Value regions #3773

Description

@yqliving

Requested feature

For some content in the PDF document, it includes multiple columns or blocks with key and value regions, and the structure is not recognized as tables; the reading order should be key first, value second, one by one, but in the markdown results, they are mixed together.

For example:
file content
Image

result:

Image

There are several testing documents:

  1. Summary section in test_kvp_reading_order.pdf, programmatic PDF
  2. form section in AB.FILES.038670001-02-PDF_A_MockUp-page-5.pdf, Form data, scanned PDF, but the section is not recognized as table.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions