Skip to content

Jaro similarity

simJaro(x,y)={0if m=013(mx+my+mtm)otherwisesim_{Jaro}(x, y) = \begin{cases} 0 &\text{if }m = 0\\ \frac{1}{3}\left(\frac{m}{|x|} + \frac{m}{|y|} + \frac{m-t}{m}\right) &\text{otherwise} \end{cases}

Where:

  • x|x| is the length of the string xx;
  • mm is the number of matching characters
  • tt is the number of transpositions

Reading