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

Extend sanitize_text with known exceptions #1127

Open
dolfim-ibm opened this issue Mar 6, 2025 · 0 comments
Open

Extend sanitize_text with known exceptions #1127

dolfim-ibm opened this issue Mar 6, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dolfim-ibm
Copy link
Contributor

With the new reading order module we are currently missing some text normalization which were applied by the glm component. For example in https://github.com/DS4SD/deepsearch-glm/blob/main/src/andromeda/tooling/structs/normalizers/text_normalizer.h#L52.

Currently some text normalization is done in https://github.com/DS4SD/docling/blob/main/docling/models/page_assemble_model.py#L55, however

  1. it is not complete (see complete glm tooling linked above)
  2. it does not preserve the original text in the orig field

Some extra notes:

@dolfim-ibm dolfim-ibm added the enhancement New feature or request label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants