Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix for box_groups_to_span_groups when center=True #278

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

geli-gel
Copy link
Contributor

@geli-gel geli-gel commented Sep 2, 2023

this is a bug fix for an error made in #276
It's possible to find tokens from the original Document overlapping with the MergedSpan SpanGroup that are already allocated to a different SpanGroup, so we need to check first if it's in the list of available tokens before attempting to remove it.

todo:

  • publish new version

Copy link
Contributor

@regan-huff regan-huff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@geli-gel
Copy link
Contributor Author

geli-gel commented Sep 5, 2023

@regan-huff could you try merging this for me? for some reason the button isn't working for me, appears to be and then goes back to "Confirm squash and merge" after a little while

image

@regan-huff
Copy link
Contributor

@geli-gel failed for me too, will try again in a bit

@regan-huff regan-huff merged commit fbaf85b into main Sep 5, 2023
5 checks passed
@regan-huff regan-huff deleted the grobid_overlap_error_p2_bugfix branch September 5, 2023 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants