Person: Person Profile, Financial Details, Demographics, and Tax Details
Organization: Business Profile, Business Details, Socioeconomic Details, Tax Details, and Special Events
Determine the edit distance, or the number of changes required to make the longer string match the shorter string.
For example, for Smythe and Smith, the edit distance is two.
Subtract the edit distance from the number of characters in the longest string.
Following the example above: 6 - 2 = 4.
Divide the amount calculated in step 2 by the number of characters in the longest string.
Continuing the example: 4/6 = 0.6666
Express the result as an integer.
In this example the result would be a similarity score of 67.