Definition: Compute the similarity of two strings as the number of matching characters divided by the total number of characters in the two strings. Matching characters are those in the longest common substring plus, recursively, matching characters in the unmatched region on either side of the longest common substring.
Generalization (I am a kind of ...)
string matching with errors.
John W. Ratcliff and David E. Metzener, Pattern Matching: The Gestalt Approach, Dr. Dobb's Journal, page 46, July 1988.
If you have suggestions, corrections, or comments, please get in touch with Paul Black.
Entry modified 8 January 2021.
HTML page formatted Tue Jan 19 08:57:16 2021.
Cite this as:
Paul E. Black, "Ratcliff/Obershelp pattern recognition", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed. 8 January 2021. (accessed TODAY) Available from: https://www.nist.gov/dads/HTML/ratcliffObershelp.html