Download User's Guide

Transcript
The Jaro comparison function takes into account typical spelling deviations. Briefly, for two strings s and t,
let s' be the characters in s that are “common with” t, and let t' be the characters in t that are "common with"
s; roughly speaking, a character a in s is “in common” with t if the same character a appears in about the
place in t.
Let Ts′,t′ measure the number of transpositions of characters in s' relative to t'. The Jaro similarity metric for s
and t is
1  s ' t ' s ' − Ts ',t ' 
Jaro( s, t ) =  + +
3  s
t
2 s ' 
5. Jaro-Winkler comparison function [17]
This metric, an extension of the Jaro comparison function (4), tends to modify the weights of the pairs s,t
with a common prefix; the Jaro-Winkler distance metric is particularly suitable in case of short strings such
as person names.
The Jaro-Winkler function for s and t is
Jaro − Winkler ( s, t ) = Jaro(s, t ) + (lp * (1 − Jaro(s, t )))
where l is the length of common prefix at the beginning of the string; p is a constant scaling factor for how
much the score is adjusted upwards for having common prefixes. In Relais the value of constant p is the
standard used in Winkler's work[17]: p = 0.1 and the value of l can not exceed 6. This adjustment gives more
favorable ratings to strings that match from the beginning for a set prefix length.
6. 3-Grams [18]
Q-grams are generally used in approximate string matching by “sliding” a window of length q over the
characters of a string s to create a number of 'q' length grams (in the case of RELAIS we considered q equal
to 3) for matching.
A match is then rated as number of q-gram matches within the second string, t, over possible q-grams. When
two strings s and t have a small edit distance, they also have a large number of q-grams in common.
7. Soundex comparison function
The Soundex function is a rude phonetic indexing scheme that generally focuses on individuals names; with
this metric the errors in phonetic are easily recognized, e.g. the names John, Johne and Jon referred to the
same person.
33