Even if your "same length" criteria is true, then based of the number of matching characters -- sk0oid .v. should -- there are 543 words in my dictionary that could be considered matches for sk0oid:

c:\test>junk33 sk0oid | find "33.33%" | wc -l 543

These range from:

c:\test>junk33 sk0oid | find "33.33%" sk0oid has a 33.33% chance of being: abroad sk0oid has a 33.33% chance of being: acarid sk0oid has a 33.33% chance of being: accord ... sk0oid has a 33.33% chance of being: shoots sk0oid has a 33.33% chance of being: shored sk0oid has a 33.33% chance of being: should sk0oid has a 33.33% chance of being: shoved sk0oid has a 33.33% chance of being: showed sk0oid has a 33.33% chance of being: shrewd sk0oid has a 33.33% chance of being: shroff sk0oid has a 33.33% chance of being: shrove sk0oid has a 33.33% chance of being: shuted ... sk0oid has a 33.33% chance of being: uphold sk0oid has a 33.33% chance of being: upload sk0oid has a 33.33% chance of being: verbid sk0oid has a 33.33% chance of being: vespid sk0oid has a 33.33% chance of being: vetoed sk0oid has a 33.33% chance of being: viscid sk0oid has a 33.33% chance of being: zeroed

You would need to come up with a heuristic that reflects the types of mistakes that your OCR program has a habit of making in order to get anything like good results.

The program used above:

#! perl -slw use strict; open W, '<', 'words.txt' or die $!; my @words = <W>; close W; chomp @words; chomp( my $bad = lc shift() ); for my $good ( @words ) { next if length $good != length $bad; my $mask = $good ^ $bad; my $match = $mask =~ tr[\0][]; next unless $match; printf "$bad has a %.2f%% chance of being: $good \n", $match / length( $good ) * 100; }

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

In reply to Re: Help with words scrambled by BrowserUk
in thread Help with words scrambled by deluxaran

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.