Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Does OCR::PerfectCR work at all?

by theorbtwo (Prior)
on Feb 12, 2007 at 01:31 UTC ( #599500=note: print w/replies, xml ) Need Help??

in reply to Does OCR::PerfectCR work at all?

The charmap format isn't documented because there are both load and save functions, and trying to recognize unknown characters will automatically add a stub to the charmap in memory. Load the charmap (a blank file will work fine), try to recognize some text, then save the charmap. Load it up in a decent text editor, and modify it. Then you can repeat to taste.

This should quite likely be clearer in the POD -- suggestions welcome. I'm not terribly good at forgetting what I know about the module in order to write the documentation for it. (And, alas, I'm not terribly good at follow-through -- I tend to get stuff working well enough for me and then stop working on it. This time I managed to get a little bit further, and do some cleanup, release, and then stop working on it.

PS -- /msging me would have been helpful -- fortunately, brother Limbic~Region noticed this and /msged me.

Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://599500]
[Lady_Aleena]: I have two sub recurse { my ($directory, $other_var) = @_; my @files = file_list($directo ry); for my $file (@files) { if (-f $file) { do "stuff"; } if (-d $file) { recurse(" $directory/$file" , $other_var); } } } This was when I hated File::Find.
[tobyink]: 1nickt: your code?
[LanX]: pryrt: yeah, that's why I didn't consider, but the last >10 anonymous posts are from the same troll-person
[jdporter]: is there a module for expanding tabs in text?
[jdporter]: A: yes.
[Lady_Aleena]: I don't know how hard it will be to get out of that mess.
[LanX]: M-x untabify
[choroba]: I don't think they're multiple people. I was told "he or she" sounds old-fashioned and "they" is the way to say it
[pryrt]: Those others were definitely offensive or unequivocably rude, I agree.
[choroba]: (well, it comes from the 14th century, so labelling it as "modern" doesn't seem appropriate)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (17)
As of 2017-05-24 20:18 GMT
Find Nodes?
    Voting Booth?