-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Pdf to Markdown duplication issue #790
Comments
@AbzyS1 I ran your snippet against a document that matched your pasted content on Google (I assume it's the same, otherwise please share your document if it is possible) and it works without duplication issues. Can you share the outputs of In case you have an old Docling version, I would update to the latest and try again. |
@AbzyS1 Can you add an example pdf where this happens? |
Shariaa-Standards-extract-ENG.pdf The above is an extract from the document in question. Following from Vagenas's questions here are the outputs: Docling version: 2.8.3 Python 3.11.5 macOS-14.5-arm64-arm-64bit |
@AbzyS1 Thank you, I can reproduce it and know how to fix it (the bold is done by replicating text), fix coming in soon! |
This is resolved here: docling-project/docling-parse#91 |
Question
I am new to Docling and have been experimenting. This is how I have currently implemented Docling to parse my PDF:
The issue is in the output, every sentence is duplicated.
Here is an example of what I mean:
As you can see, it happens in both titles and the text itself. Any ideas why? I have tried a few things (i.e., changing
force_ocr = False
, etc.) but can't seem to pinpoint the issue.All help would be appreciated.
The text was updated successfully, but these errors were encountered: