Unnecessary spaces added at the middle of word
Author: alzambranolu13Created Jun 1, 2023Updated Aug 8, 2026
Labelsawaiting-code-or-pdf
I'm trying to convert medical pdfs into text. The issue is, for example: In the PDF theres the text: "Common bile duct margin" Then extract_text() returns: " C ommon bile d uct m argin"
It seems that pdfplumber takes just C as a word by itself, same as d and m. Is it possible to avoid this?
Thanks, Alejandra
Source: jsvine/pdfplumber