allenai / mmda

multimodal document analysis
Apache License 2.0
158 stars 18 forks source link

Bib detector fixes #270

Closed cmwilhelm closed 11 months ago

cmwilhelm commented 11 months ago

Fixes bibentry detector issue with orphaned boxes

RE: https://github.com/allenai/scholar/issues/35308

Sometimes the detector predicts boxes that don't intersect
any tokens on the page. In these cases we should discard
the box, as it doesn't map to text and causes a runtime error
otherwise.