Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Example Of Using CAM::PDF Like HTML::TokeParser

by pvaldes (Chaplain)
on Oct 08, 2011 at 16:12 UTC ( #930369=note: print w/replies, xml ) Need Help??

in reply to Example Of Using CAM::PDF Like HTML::TokeParser

if the pdf layout is the problem, maybe you want consider to use pdftotext playing a little with the layout option,

`pdftotext -layout file.pdf file.txt`; `pdftotext file.pdf second_file.txt`;

you can also extract only the desired pages of the pdf instead the whole file, making the search more easy

Replies are listed 'Best First'.
Re^2: Example Of Using CAM::PDF Like HTML::TokeParser
by Limbic~Region (Chancellor) on Oct 08, 2011 at 19:31 UTC
    As I indicated in my original post, extracting the text didn't work. What I didn't indicate is that I tried every possible tool and variation I could think of to include commercial products. None of the text extractions produce a consistent enough format for me to get at what I need. I understand that what I want to do is not ideal nor easy am may be futile - I however would like to try for myself.

    Cheers - L~R

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://930369]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2021-10-25 07:56 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (89 votes). Check out past polls.