in reply to OCR2

At first this did not work for me, it only gave 4 warnings but no output. Than I've removed the c-m line endings and suddenly it worked. (v5.8.2 built for i686-linux)

Update:
It seems that you are using a perfect hash function into 16 buckets for recognizing the characters. Very smart.

Replies are listed 'Best First'.
Re^2: OCR2
by Anonymous Monk on Aug 06, 2004 at 14:44 UTC
    Yes, ambrus, in regards to your hidden update, you are correct, but I must give credit to my friend Ton for that. This was one of the first golfs I attempted, and I've been hooked ever since. At the time I really didn't know what I was doing, but Ton's solution is one of the more elegant. You can see several other algorithms at terje's minigolf.
Re^2: OCR2
by o0lit3 (Friar) on Aug 06, 2004 at 14:52 UTC
    Update: Apologies for the above node being posted anonymously as I was not yet logged in.