mkstringmetrics
efficient implementations of various string metric algorithms
MKSTRINGMETRICS

Function
HAMMING
(x y)Calculate Hamming distance between two given strings X and Y, they have to be of the same length. 
Function
LEVENSHTEIN
(x y)Calculate Levenshtein distance between two given strings X and Y. 
Function
DAMERAULEVENSHTEIN
(x y)Calculate DamerauLevenshtein distance between two given strings X and Y. 
Function
NORMLEVENSHTEIN
(x y)Return normalized Levenshtein distance between X and Y. Result is a real number from 0 to 1, where 0 signifies no similarity between the strings, while 1 means exact match. 
Function
NORMDAMERAULEVENSHTEIN
(x y)Return normalized DamerauLevenshtein distance between X and Y. Result is a real number from 0 to 1, where 0 signifies no similarity between the strings, while 1 means exact match. 
Function
OVERLAP
(x y)This function calculates overlap coefficient between two given strings X and Y. Returned value is in range from 0 (no similarity) to 1 (exact match). 
Function
JACCARD
(x y)Calculate Jaccard similarity coefficient for two strings X and Y. Returned value is in range from 0 (no similarity) to 1 (exact match). 
Function
JARO
(x y)Calculate Jaro distance between two strings X and Y. Returned value is in range from 0 (no similarity) to 1 (exact match). 
Function
JAROWINKLER
(x y)Calculate JaroWinkler distance between two strings X and Y. Returned value is in range from 0 (no similarity) to 1 (exact match).