By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,923 Members | 1,279 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,923 IT Pros & Developers. It's quick & easy.

PDF to text script

P: n/a
Vyz
I am looking for a PDF to text script. I am working with multibyte
language PDFs on Windows Xp. I need to batch convert them to text and
feed into an encoding converter program

Thanks for any help in this regard

Nov 10 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
In article <11********************@e3g2000cwe.googlegroups.co m>,
Vyz <vy*******@gmail.comwrote:
>I am looking for a PDF to text script. I am working with multibyte
language PDFs on Windows Xp. I need to batch convert them to text and
feed into an encoding converter program

Thanks for any help in this regard
<URL: http://phaseit.net/claird/comp.text....s.html#pdf2txt >

Nov 10 '06 #2

P: n/a
Vyz wrote:
I am looking for a PDF to text script. I am working with multibyte
language PDFs on Windows Xp. I need to batch convert them to text and
feed into an encoding converter program

Thanks for any help in this regard
Multibyte languages are not easy. I do text extraction from PDF but 1)
I do it on Linux and 2) I only need English text. The utility I use is
pdftotext that comes as part of XPDF *nix package.

The other problem however, is not with the extraction but with the fact
that after you extract the text, it might not look very good. In other
words, the extraction program will never complain but will nevertheless
produce garbage. Then you have to process the result yourself. For
example, whitespace is not consistent, sometimes there will be extra
whitespace -- sometimes there won't be enough for example " S o m e
w ordsloo l i k e t his" and so on...

The real answer is that pdf text extraction is pretty hard. It is a
1000x better to get a hold of the original source...

Nick V.

Nov 11 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.