[ 
https://issues.apache.org/jira/browse/PDFBOX-5029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17242621#comment-17242621
 ] 

Tilman Hausherr commented on PDFBOX-5029:
-----------------------------------------

Could you please tell what segment in the PDF is affected, i.e. one line? Then 
please copy & paste that into WORD and convert to PDF, and see if it happens 
again, and if yes, please attach that PDF.

(This will be difficult to solve. I really wonder why the Tika is so different, 
because Tika uses our stripper class)

> Tika - Issues extracting Arabic script from pdf
> -----------------------------------------------
>
>                 Key: PDFBOX-5029
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5029
>             Project: PDFBox
>          Issue Type: Bug
>         Environment: Windows - Anaconda / Spyder
>            Reporter: Christian 
>            Priority: Major
>         Attachments: PDFBOX-5029-not-sorted-2.0.21.txt, 
> PDFBOX-5029-not-sorted-trunk.txt, PDFBOX-5029-sorted-2.0.21.txt, 
> PDFBOX-5029-sorted-trunk.txt, extracting_text_asian_pdf.py, test.pdf, 
> test_scraped.utf8
>
>
> I'm working on building a corpus of Uygur texts and some of the content is 
> coming from pdf files. I wrote a short python script to scrape text from pdf 
> using tika-python. The script is Arabic, and the output looks good but there 
> is one major problem: there are many missing spaces between words and I 
> really do not know how to address this issue. I am attaching a pdf file, the 
> script to scrape its text and the output (test_scraped.utf8). Thanks in 
> advance for your help.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to