|Perl Monk, Perl Meditation|
Count number or words in PDFby anniyan (Monk)
|on Jan 05, 2006 at 11:31 UTC||Need Help??|
anniyan has asked for the
wisdom of the Perl Monks concerning the following question:
I need to count the number of words in the PDF file.
What i tried is, i saved the PDF file as word file and using Win32::OLE i added a vba macro to count the number of words. The problem is, it is taking very large time to save pdf as word document.
Earlier i did some work using CAM::PDF, in that there is no method to identify number of words.
Is it possible to count the number of words with word application? If so is there any other module to accomplish this? Even if there is any module to 'save as' pdf to word in perl please guide.