Overview

This interface provides for the String matching algorithms classes used by Score.

Implemented by

EqualityTest

A test for exact equality

 

NormalizedDoubleMetaphoneDifference

A test for phonic equality

Metaphone Wiki Article

NormalizedSoundExDifference

A test for phonic equality

Soundex Wiki Article

NormalizedLevenshteinDifference

A test for misspelling distance

Levenshtein Wiki Article

NormalizedDamerauLevenshteinDifference

A test for misspelling distance accounting for transpositions

Damerau-Levenshtein Wiki Article

NormalizedTypoDifference

A test for misspelling distance specific to the "qwerty" keyboard

 

CaseInsensitiveInitialTest

A test to see if the first letter of each string is the same, case-insensitive

 

 

NameCompare

A test designed specifically for evaluating name data

 

Methods

calculate

Returns a normalized float (between 0.0 and 1.0) directly proportional to how much of a match two strings are.