Logo PTI
Polish Information Processing Society
Logo FedCSIS

Annals of Computer Science and Information Systems, Volume 8

Proceedings of the 2016 Federated Conference on Computer Science and Information Systems

Towards increasing F-measure of approximate string matching in O(1) complexity

, ,

DOI: http://dx.doi.org/10.15439/2016F311

Citation: Proceedings of the 2016 Federated Conference on Computer Science and Information Systems, M. Ganzha, L. Maciaszek, M. Paprzycki (eds). ACSIS, Vol. 8, pages 527532 ()

Full text

Abstract. The paper analyzes existing approaches for approx- imate string matching based on linear search with Levenshtein distance, AllScan and CPMerge algorithms using cosine, Jaccard and Dice distance measures. The methods are presented and compared to our approach that improves indexing time using Locally Sensitive Hashing. Advantages and drawbacks of the methods are identified based on theoretical considerations as well as empirical evaluations on real-life dictionaries.


  1. W. H. Gomaa and A. A. Fahmy, “A survey of text similarity approaches,” International Journal of Computer Applications, vol. 68, no. 13, 2013.
  2. A. Parker et al., “Computer algorithms for plagiarism detection,” 1989.
  3. Z. Su, B.-R. Ahn, K.-Y. Eom, M.-K. Kang, J.-P. Kim, and M.-K. Kim, “Plagiarism detection using the levenshtein distance and smith-waterman algorithm,” in Innovative Computing Information and Control, 2008. ICICIC’08. 3rd International Conference on. IEEE, 2008, pp. 569–569.
  4. F. D. Garcia, J.-H. Hoepman, and J. Van Nieuwenhuizen, “Spam filter analysis,” in Security and Protection in Information Processing Systems. Springer, 2004, pp. 395–410.
  5. T. Okuda, E. Tanaka, and T. Kasai, “A method for the correction of garbled words based on the levenshtein metric,” Computers, IEEE Transactions on, vol. 100, no. 2, pp. 172–178, 1976.
  6. N. Okazaki and J. Tsujii, “Simple and efficient algorithm for approximate dictionary matching,” Proceedings of the 23rd International Conference on Computational Linguistics, pp. 851–859, 2010.
  7. V. I. Levenshtein, Binary codes capable of correcting deletions, insertions, and reversals. Soviet Physics Doklady, 1966.
  8. F. J. Damerau, “A technique for computer detection and correction of spelling errors,” Communications of the ACM, vol. 7, no. 3, pp. 171–176, 1964.
  9. G. V. Bard, “Spelling-error tolerant, order-independent pass-phrases via the damerau-levenshtein string-edit distance metric,” in Proceedings of the fifth Australasian symposium on ACSW frontiers-Volume 68. Australian Computer Society, Inc., 2007, pp. 117–124.
  10. G. Navarro, “A guided tour to approximate string matching,” ACM computing surveys (CSUR), vol. 33, no. 1, pp. 31–88, 2001.
  11. K. Monostori, R. Finkel, A. Zaslavsky, G. Hodász, and M. Pataki, “Comparison of overlap detection techniques,” in Computational Science—ICCS 2002. Springer, 2002, pp. 51–60.
  12. C. Badica, N. T. Nguyen, and M. Brezovan, Eds., Computational Collective Intelligence. Technologies and Applications - 5th International Conference, ICCCI 2013, Craiova, Romania, September 11-13, 2013, Proceedings, ser. Lecture Notes in Computer Science, vol. 8083. Springer, 2013.
  13. S.-S. Choi, S.-H. Cha, and C. C. Tappert, “A survey of binary similarity and distance measures,” Journal of Systemics, Cybernetics and Informatics, vol. 8, no. 1, pp. 43–48, 2010.
  14. B. Kaliski and M. Robshaw, “Message authentication with md5,” CryptoBytes (RSA Labs Technical Newsletter), vol. 1, no. 1, 1995.
  15. A. Gionis, P. Indyk, R. Motwani et al., “Similarity search in high dimensions via hashing,” in VLDB, vol. 99, no. 6, 1999, pp. 518–529.
  16. M. Slaney and M. Casey, “Locality-sensitive hashing for finding nearest neighbors [lecture notes],” Signal Processing Magazine, IEEE, vol. 25, no. 2, pp. 128–131, 2008.
  17. L. Paulevé, H. Jégou, and L. Amsaleg, “Locality sensitive hashing: A comparison of hash function types and querying mechanisms,” Pattern Recognition Letters, vol. 31, no. 11, pp. 1348–1358, 2010.
  18. J. Leskovec, A. Rajaraman, and J. D. Ullman, Mining of massive datasets. Cambridge University Press, 2014.
  19. SJP, http://sjp.pl/slownik/growy/, 2016, [Online; 01-07-2016].
  20. Wikipedia, https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings, 2016, [Online: 01-07-2016].