Decoding Substitution Ciphers by Means of Word Matching with Application to OCR.

G Nagy1, S Seth, K Einspahr

  • 1Department of Electrical, Computer, and Systems Engineering, Rensselaer Polytechnic Institute, Troy, NY 12180.

Summary

This study presents a dictionary-based heuristic backtrack algorithm to solve substitution ciphers in optical character recognition. This method efficiently translates scanned documents into standard character codes using small text samples.

Related Concept Videos

Predicting Products: Substitution vs. Elimination02:52

Predicting Products: Substitution vs. Elimination

When a nucleophile and an alkyl halide react, nucleophilic substitution and β-elimination reactions compete to generate products.
The following factors can influence the mechanisms competing against each other:
Sign Test for Matched Pairs01:17

Sign Test for Matched Pairs

The sign test for matched pairs offers a robust method for comparing two paired samples, often for the effects of an intervention in one of them. This method is very useful in situations where the underlying distribution of the data is unknown. The test compares two related samples—often pre- and post-treatment measurements on the same subjects—to determine if there are significant differences in their median values.
To conduct the sign test, we first calculate the differences in value between...
Rationalizing Substitutions01:29

Rationalizing Substitutions

Integrals involving non-rational functions are often difficult to evaluate using standard techniques, especially when radicals appear in the integrand. Rationalizing substitution provides a systematic method for simplifying such integrals by converting them into rational forms that are easier to handle.Consider a rod whose linear mass density depends on a constant linear density, a characteristic length, and the distance from the left end of the rod. Determining the total mass requires...
Encoding01:19

Encoding

Information enters the brain through encoding, which is the input of information into the memory system. Once sensory information is received from the environment, the brain labels or codes it. The information is then organized with similar information and connected to existing concepts. Encoding occurs through automatic processing and effortful processing.
Automatic processing involves the encoding of details like time, space, frequency, and the meaning of words, usually done without conscious...
Nucleophilic Substitution Reactions02:34

Nucleophilic Substitution Reactions

Historical perspective
In 1896, the German chemist Paul Walden discovered that he could interconvert pure enantiomeric (+) and (-) malic acids through a series of reactions. This conversion suggested the involvement of optical inversion during the substitution reaction. Further, in 1930, Sir Christopher Ingold described for the first time two different forms of nucleophilic substitution reactions, which are known as SN1 (nucleophilic substitution unimolecular) and SN2 (nucleophilic substitution...
Transfer RNA Synthesis02:36

Transfer RNA Synthesis

One of the unique features of tRNA is the presence of modified bases. In some tRNAs, modified bases account for nearly 20% of the total bases in the molecule. Altogether, these unusual bases protect the tRNA from enzymatic degradation by RNases.
Each of these chemical modifications is carried by a specific enzyme, post-transcription. All of these enzymes have unique base and site-specificity. Methylation, the most common chemical modification, is carried by at least nine different enzymes, with...