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

Christian  commented on PDFBOX-5029:
------------------------------------

Hi Tilman, first of all Happy New Year - I have been very busy in the past 
weeks and only now I'm back on the issue of scraping PDF files using TIkka - I 
tried all the possible combinations - the only way to get the correct text is 
to copy and paste the PDF content in a txt file and run afterwards the script. 
If I do it with WORD there are still mistakes. In any case it won't solve the 
issue because I want to extract the text from the original PDF:

> 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: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to