Abstract
This paper is devoted to determining the degree of compliance of a given string with a pattern represented as a grammar, the terminal symbols of which are fuzzy properties of the characters of the base alphabet. In the case when the pattern is specified as a context-free grammar in the Chomsky normal form, the matching degree is calculated by applying a fuzzy version of the Cocke–Younger–Kasami (CYK) algorithm in cubic time depending on the length of the input string. The proposed algorithm becomes a linear time algorithm for the subclass of the automata grammars, which can be considered as finite automata with fuzzy properties of alphabetic characters on transitions. This work may find application in bioinformatics to classify deoxyribonucleic acid (DNA) sequences using fuzzy prototypes described in one way or another. Other applications are related to fuzzy analysis of natural languages, pattern recognition and determination of fuzzy regularity of a string.
REFERENCES
H. M. Alfawareh and S. Jusoh, “Resolving ambiguous entity through context knowledge and fuzzy approach,” Int. J. Comput. Sci. Eng. 3, 410–422 (2011).
A. Asveld, “A bibliography on fuzzy automata, grammars and languages,” Bull. Eur. Assoc. Theor. Comput. Sci., 187–196 (1995).
P. R. J. Asveld, “Fuzzy context-free languages—Part 1: Generalized fuzzy context-free grammars,” Theor. Comput. Sci. 347, 167–190 (2005). https://doi.org/10.1016/j.tcs.2005.06.012
P. R. J. Asveld, “Fuzzy context-free languages—Part 2: Recognition and parsing algorithms,” Theor. Comput. Sci. 347, 191–213 (2005). https://doi.org/10.1016/j.tcs.2005.06.013
S. G. Kanakaraddi and V. Ramaswamy, “Natural language parsing using Fuzzy Simple LR (FSLR) parser,” in 2014 IEEE Int. Advance Computing Conf. (IACC), Gurgaon, India, 2014 (IEEE, 2014), pp. 1337–1341. https://doi.org/10.1109/iadcc.2014.6779521
A. H. Kostanyan, “Determining the degree of fuzzy regularity of a string,” Math. Probl. Comput. Sci. 56, 56–64 (2021). https://doi.org/10.51408/1963-0079
A. Kostanyan, “Fuzzy string matching with finite automat,” in 2017 Computer Science and Information Technologies (CSIT), Yerevan, 2018 (IEEE, 2018), pp. 25–27. https://doi.org/10.1109/csitechnol.2017.8312128
A. Kostanyan, “Fuzzy string matching using a prefix table,” Math. Probl. Comput. Sci. 54, 116–121 (2020). https://doi.org/10.51408/1963-0065
A. Kostanyan and A. Gevorgyan, “String parsing using a fuzzy context-free pattern,” in Proc. Computer Science and Information Technologies 2023 Conf. (Institute for Informatics and Automation Problems, Yerevan, Armenia, 2023), pp. 17–20. https://doi.org/10.51408/csit2023_02
A. Kostanyan and A. Harmandayan, “Mapping a fuzzy pattern onto a string,” in 2019 Computer Science and Information Technologies (CSIT), Yerevan, 2019 (IEEE, 2019), pp. 5–8. https://doi.org/10.1109/csitechnol.2019.8895245
H. Molina-Lozano, E. E. Vallejo-Clemente, and J. E. Morett-Sanchez, “DNA sequence analysis using fuzzy grammars,” in 2008 IEEE Int. Conf. on Fuzzy Systems (IEEE World Congress on Computational Intelligence), Hong Kong, 2008 (IEEE, 2008), pp. 1915–1921. https://doi.org/10.1109/fuzzy.2008.4630631
Funding
This work was supported by the Ministry of Education, Science, Culture and Sports of the Republic of Armenia, project 21T-1B326.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
The author of this work declares that he has no conflicts of interest.
Additional information
Armen Kostanyan is an Associate Professor at Yerevan State University and an Adjunct Associate Professor at American University of Armenia. He obtained the academic degree of Associate Professor in 2006, and the PhD in 1997. He is the author or co-author of 30 scientific publications.
Research interests: computational system analysis and design, fuzzy string processing, predictive calculations under uncertainty.
Publisher’s Note.
Pleiades Publishing remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Kostanyan, A.H. Algorithms for Matching Strings with Fuzzy Context-Free and Automata Patterns. Pattern Recognit. Image Anal. 34, 110–115 (2024). https://doi.org/10.1134/S1054661824010115
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1134/S1054661824010115