Closed ameymn closed 1 year ago
Hi @ameymn, have you tried using the x_tolerance=
parameter of .extract_text(...)
?:
Closing this issue due to likely resolution posted, lack of response, and lack of original PDF to test against. Feel free, however, to continue the discussion.
Describe the bug
When we read the pdf using pdfplumber the bug is it is reading some individual words together as single long word
Code to reproduce the problem
PDF file
pdfplumber bug.pdf
If you need to redact text in a sensitive PDF, you can run it through JoshData/pdf-redactor.
Expected behavior
I was expecting the words to be read individually as they has space between them.
Actual behavior
It is ignoring space between word and many individual word as continuous long word .
Screenshots
Environment
Additional context