TR
EN
Applied Comparison of String Matching Algorithms
Abstract
String matching algorithms are used when a pattern needs to be found in a particular string. The aim of this research is to explain the basic ideas and complexities of current algorithms and to make an applied comparison. There are many algorithms used for string matching. In this study, Knuth-Morris-Pratt, Rabin Karp and Boyer Moore Horspool algorithms were compared. It is aimed to increase the accuracy of the study by choosing different algorithms. By explaining the basic ideas, possible difficulties and complexities of the algorithms, it is emphasized how these problems can be solved. As a result of the studies, it has been seen that the Knuth-Morris-Pratt algorithm outperforms other algorithms in most cases. The second best performing algorithm was Boyer Moore Horspool algorithm, and the worst performing algorithm was Rabin Karp algorithm.
Keywords
References
- Alshahrani, A.M., Khalil, M.I., 2022. Exact and Like String Matching Algorithm for Web and Network Security. 2013 World Congress on Computer and Information Technology (WCCIT).
- Anonymous. Index of bucket tripdata, https://s3.amazonaws.com/tripdata/index.html. Accessed: 29 January 2023.
- Anonymous. Rabin - Karp Algorithm, https://www.programiz.com/dsa/rabin-karp-algorithm. Accessed: 29 January 2023.
- Biçer, M., Zhang, X., 2019. An Efficient, Hybrid, Double-Hash String Matching Algorithm. 2019 IEEE Long Island Systems, Applications and Technology Conference (LISAT).
- Hakak, S.I., Kamsın, A., Shıvakumara, P., Gılkar, G.A., Khan, W.Z., Imran, M., 2019. Exact String Matching Algorithms: Survey, Issues, and Future Research Directions. Special Section On New Trends in Brain Signal Processing and Analysis, 7, 69614-69637.
- Islam, T., Talukder, K.H., 2017. An Improved Algorithm for String Matching using Index Based Shifting Approach. 20th International Conference of Computer and Information Technology (ICCIT), 22-24 December.
- Kanuga, P., 2015. New Shift table Algorithm For Multiple Variable Length String Pattern Matching. 2015 International Conference on Circuit, Power and Computing Technologies [ICCPCT].
- Mathur, T., 2022. KMP Algorithm, https://www.scaler.com/topics/data-structures/kmp-algorithm/. Accessed: 29 January 2023.
Details
Primary Language
English
Subjects
Engineering
Journal Section
Research Article
Early Pub Date
June 23, 2023
Publication Date
June 30, 2023
Submission Date
February 2, 2023
Acceptance Date
May 22, 2023
Published in Issue
Year 2023 Volume: 12 Number: 1
APA
Barut, Z., & Altuntaş, V. (2023). Applied Comparison of String Matching Algorithms. Gaziosmanpaşa Bilimsel Araştırma Dergisi, 12(1), 76-85. https://izlik.org/JA48MC78SR
AMA
1.Barut Z, Altuntaş V. Applied Comparison of String Matching Algorithms. GBAD. 2023;12(1):76-85. https://izlik.org/JA48MC78SR
Chicago
Barut, Zeynep, and Volkan Altuntaş. 2023. “Applied Comparison of String Matching Algorithms”. Gaziosmanpaşa Bilimsel Araştırma Dergisi 12 (1): 76-85. https://izlik.org/JA48MC78SR.
EndNote
Barut Z, Altuntaş V (June 1, 2023) Applied Comparison of String Matching Algorithms. Gaziosmanpaşa Bilimsel Araştırma Dergisi 12 1 76–85.
IEEE
[1]Z. Barut and V. Altuntaş, “Applied Comparison of String Matching Algorithms”, GBAD, vol. 12, no. 1, pp. 76–85, June 2023, [Online]. Available: https://izlik.org/JA48MC78SR
ISNAD
Barut, Zeynep - Altuntaş, Volkan. “Applied Comparison of String Matching Algorithms”. Gaziosmanpaşa Bilimsel Araştırma Dergisi 12/1 (June 1, 2023): 76-85. https://izlik.org/JA48MC78SR.
JAMA
1.Barut Z, Altuntaş V. Applied Comparison of String Matching Algorithms. GBAD. 2023;12:76–85.
MLA
Barut, Zeynep, and Volkan Altuntaş. “Applied Comparison of String Matching Algorithms”. Gaziosmanpaşa Bilimsel Araştırma Dergisi, vol. 12, no. 1, June 2023, pp. 76-85, https://izlik.org/JA48MC78SR.
Vancouver
1.Zeynep Barut, Volkan Altuntaş. Applied Comparison of String Matching Algorithms. GBAD [Internet]. 2023 Jun. 1;12(1):76-85. Available from: https://izlik.org/JA48MC78SR