Skip to content

Commit

Permalink
make column break threshold more generous
Browse files Browse the repository at this point in the history
  • Loading branch information
iammosespaulr committed Nov 30, 2024
1 parent 6a786be commit d9eb4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marker/processors/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __call__(self, document: Document):
if next_block.page_id == block.page_id: # block on the same page
# we check for a column break
column_break = (
math.floor(next_block.polygon.y_start) <= math.ceil(block.polygon.y_start) and
next_block.polygon.y_start <= block.polygon.y_end and
next_block.polygon.x_start > (block.polygon.x_end + column_gap)
)
else:
Expand Down

0 comments on commit d9eb4dd

Please sign in to comment.