Related Experiment Video
Updated: May 29, 2026

Interaction between Phonological and Semantic Processes in Visual Word Recognition using Electrophysiology
Published on: June 29, 2021
Decoding Substitution Ciphers by Means of Word Matching with Application to OCR.
1Department of Electrical, Computer, and Systems Engineering, Rensselaer Polytechnic Institute, Troy, NY 12180.
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.
Area of Science:
- Computer Science
- Artificial Intelligence
- Cryptography
Background:
- Substitution ciphers are a cryptographic concept where letters are replaced by symbols.
- Optical Character Recognition (OCR) faces challenges in identifying characters across diverse typefaces and sizes.
- Existing OCR methods struggle with arbitrary character identification, hindering document digitization.
Purpose of the Study:
- To bridge the gap in OCR by solving substitution cipher-like problems.
- To enable automatic translation of scanned documents into standard character codes (e.g., ASCII).
- To develop a more efficient method than n-gram frequency analysis for cipher decryption.
Main Methods:
- A dictionary-based approach utilizing a lexicon of fewer than 500 words.
- Implementation of a heuristic backtrack algorithm.
- Testing on sample texts ranging from 100 to 600 words.
Main Results:
- The heuristic backtrack algorithm efficiently deciphers substitution ciphers.
- The method requires only small ciphertext samples.
- The algorithm explores a minimal subset of the vast search space (26! possibilities).
Conclusions:
- The proposed dictionary-based heuristic backtrack algorithm effectively solves substitution ciphers for OCR applications.
- This approach overcomes limitations of previous methods requiring large datasets.
- Enables robust automatic document translation and character code standardization.
Related Concept Videos
Predicting Products: Substitution vs. Elimination
The following factors can influence the mechanisms competing against each other:
Sign Test for Matched Pairs
To conduct the sign test, we first calculate the differences in value between...
Rationalizing Substitutions
Encoding
Automatic processing involves the encoding of details like time, space, frequency, and the meaning of words, usually done without conscious...
Nucleophilic Substitution Reactions
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 Synthesis
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...
