Modified Levenshtein distance algorithm for coding
Abstract
Methods and systems of mapping of an optical character recognition (OCR) text string to a code included in a coding dictionary by supplementing the Levenshtein Distance Algorithm (LDA) with additional information in the form of adjustments based on particular character substitutions, insertions and deletions together with weighting based on multiple alternatives for the OCR text string. In one embodiment, an OCR text string mapping method ( 100 ) includes receiving ( 110 ) an OCR text string, comparing ( 120 ) it with selected text strings from a coding dictionary, computing ( 130 ) modified Levenshtein distances associated with the comparisons by determining ( 140 ) substitution penalties, determining ( 150 ) insertion penalties, determining ( 160 ) deletion penalties and combining ( 170 ) the penalties, selecting ( 180 ) the best matching text string from the coding dictionary based on the modified Levenshtein distances, determining ( 190 ) whether a maximum threshold distance is met, and assigning ( 200 ) a code associated with the best matching text string to the OCR text string when met, and assigning ( 210 ) a null or no code when not met.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 14.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for use in mapping an optical character recognition (OCR) text string to a code from a coding dictionary, each code being associated with at least one of a plurality of text strings included in the coding dictionary, said method comprising the steps of: receiving the OCR text string at a processor; receiving, when available, one or more alternatives for the OCR text string at the processor, wherein the alternatives include at least one backup character; executing a software program with the processor, wherein executing the software program includes the steps of: comparing the OCR text
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (14 of 14 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (5)
- "ZIP code." (Jan. 2005) Wikipedia.
- Dengel et al. (Dec. 1997) "Techniques for improving OCR results." Chapter 8, Handbook of Character Recognition and Document Image Analysis, Bunke et al., Eds., pp. 227-258.
- Geist et al. (Jun. 1993) "The Second Census Optical Character Recognition Systems Conference: Call for Participation," National Institute of Standards and Technology.
- Levenshtein Distance. Wikipedia. http://web.archive.org/web/20060118071833/http://en.wikipedia.org/wiki/Levenshtein-distance. Jan. 18, 2006.
- Search Report Under Section 17(5). UK Intellectual Property Office. Application No. GB0701002.8. Mailing Date May 17, 2007.