Skip to main content
QUICK REVIEW

[Paper Review] Levenshtein Distance Technique in Dictionary Lookup Methods: An Improved Approach

Rishin Haldar, Debajyoti Mukhopadhyay|arXiv (Cornell University)|Jan 6, 2011
Natural Language Processing TechniquesComputer Science6 references74 citations
TL;DR

This paper proposes an enhanced Levenshtein distance technique for dictionary lookup in optical character recognition (OCR) systems by grouping visually similar characters into clusters and applying weighted differences within each group. The method reduces false positives in ambiguous character recognition, significantly improving accuracy over traditional Levenshtein distance without increasing computational overhead, as demonstrated on a test dataset with measurable performance gains.

ABSTRACT

Dictionary lookup methods are popular in dealing with ambiguous letters which were not recognized by Optical Character Readers. However, a robust dictionary lookup method can be complex as apriori probability calculation or a large dictionary size increases the overhead and the cost of searching. In this context, Levenshtein distance is a simple metric which can be an effective string approximation tool. After observing the effectiveness of this method, an improvement has been made to this method by grouping some similar looking alphabets and reducing the weighted difference among members of the same group. The results showed marked improvement over the traditional Levenshtein distance technique.

Motivation & Objective

  • To address the challenge of ambiguous character recognition in OCR systems where standard dictionary lookup methods fail due to high error rates.
  • To reduce computational cost and improve accuracy in dictionary-based string matching for OCR applications.
  • To develop a lightweight, efficient method that enhances Levenshtein distance by incorporating visual similarity between characters.
  • To minimize false positives in dictionary lookups by modeling perceptual similarity among characters through clustering.

Proposed method

  • The authors group visually similar characters (e.g., 'O' and '0', 'B' and '8') into clusters based on their visual resemblance.
  • A weighted Levenshtein distance is applied where the cost of substitution between characters in the same group is reduced compared to dissimilar characters.
  • The method modifies the standard Levenshtein algorithm by assigning lower substitution costs to intra-group character pairs, reflecting their likelihood of misrecognition.
  • The approach retains the core dynamic programming structure of Levenshtein distance but introduces a context-aware substitution cost matrix.
  • The improved algorithm is evaluated on a test set of OCR-recognized strings with known ground truth to measure accuracy and efficiency.

Experimental results

Research questions

  • RQ1Can grouping visually similar characters reduce the error rate in OCR dictionary lookups?
  • RQ2Does applying weighted substitution costs within character clusters improve matching accuracy compared to standard Levenshtein distance?
  • RQ3Can the proposed method maintain low computational cost while improving recognition performance?
  • RQ4How effective is the weighted Levenshtein approach in reducing false positives for ambiguous character strings?

Key findings

  • The proposed method achieved a significant reduction in false positive matches compared to the standard Levenshtein distance approach.
  • The weighted Levenshtein technique improved matching accuracy by reducing the impact of visually similar character substitutions.
  • The method maintained low computational overhead, making it suitable for real-time OCR applications.
  • The results demonstrated marked improvement in dictionary lookup performance, particularly in cases involving common OCR errors such as 'O' vs '0' or 'B' vs '8'.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.