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

bug/partition_pdf removes spaces from the text #2896

Open
christinestraub opened this issue Apr 16, 2024 · 0 comments
Open

bug/partition_pdf removes spaces from the text #2896

christinestraub opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working pdf

Comments

@christinestraub
Copy link
Contributor

christinestraub commented Apr 16, 2024

Describe the bug
Some spaces are removed from the text when partitioning a PDF document.

To Reproduce
PDF: rok_20230930_1-1.pdf

elements = partition_pdf(
    filename="rok_20230930_1-1.pdf",
    strategy="hi_res",
    infer_table_structure=True,
)

print(str(elements[20]))

Current behavior

Nameofeachexchangeonwhichregistered NewYorkStockExchange

Expected behavior

Name of each exchange on which registered New York Stock Exchange
@christinestraub christinestraub added bug Something isn't working pdf labels Apr 16, 2024
@christinestraub christinestraub self-assigned this Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pdf
Projects
None yet
Development

No branches or pull requests

1 participant