Abstract—This study aims to publish a novel similarity metric to increase the speed of comparison operations. Also the new metric is suitable for distance-based operations among strings.
Most of the simple calculation methods, such as string length are fast to calculate but doesn’t represent the string correctly. On the other hand the methods like keeping the histogram over all characters in the string are slower but good to represent the string characteristics in some areas, like natural language.
We propose a new metric, easy to calculate and satisfactory for string comparison. Method is built on a hash function, which gets a string at any size and outputs the most frequent K characters with their frequencies.
The outputs are open for comparison and our studies showed that the success rate is quite satisfactory for the text mining operations.
Index Terms—String distance function, string similarity metric.
Sadi Evren Seker is with the Department of Business, Istanbul Medeniyet University, Istanbul, Turkey (e-mail: email@example.com ).
Oguz Altan is with the Department of Computer Science, Epoka University, 1039 Tirana Albania. (e-mail: firstname.lastname@example.org).
Uğur Ayan is with the Turkish National Science Foundation, Istanbul Turkey (e-mail: email@example.com)
Cihan Mert is with the Department of Informatics, International Black Sea University, 0131 Tbilisi Georgia(e-mail: firstname.lastname@example.org).
Cite: Sadi Evren Seker, Oguz Altun, Uğur Ayan, and Cihan Mert, "A Novel String Distance Function Based on Most Frequent K Characters," International Journal of Machine Learning and Computing vol.4, no. 2, pp. 177-182, 2014.