A Fuzzy Approach to Erroneous Inputs in Context-Free Language Recognition

Using fuzzy context-free grammars one can easily describe a finite number of ways to derive incorrect strings together with their degree of correctness. However, in general there is an infinite number of ways to perform a certain task wrongly. In this paper we introduce a generalization of fuzzy context-free grammars, the so-called fuzzy context-free $K$-grammars, to model the situation of making a finite choice out of an infinity of possible grammatical errors during each context-free derivation step. Under minor assumptions on the parameter $K$ this model happens to be a very general framework to describe correctly as well as erroneously derived sentences by a single generating mechanism. Our first result characterizes the generating capacity of these fuzzy context-free $K$-grammars. As consequences we obtain: (i) bounds on modeling grammatical errors within the framework of fuzzy context-free grammars, and (ii) the fact that the family of languages generated by fuzzy context-free $K$-grammars shares closure properties very similar to those of the family of ordinary context-free languages. The second part of the paper is devoted to a few algorithms to recognize fuzzy context-free languages: viz. a variant of a functional version of Cocke-Younger- Kasami's algorithm and some recursive descent algorithms. These algorithms turn out to be robust in some very elementary sense and they can easily be extended to corresponding parsing algorithms.

[1]  Peter R. J. Asveld Abstract Grammars Based on Transductions , 1991, Theor. Comput. Sci..

[2]  Peter Robert Jan Asveld Iterated Context-Independent Rewriting -- An Algebraic Approach to Families of Languages , 1978 .

[3]  L. Zadeh,et al.  Fuzzy sets and applications : selected papers , 1987 .

[4]  Alfred V. Aho,et al.  The Theory of Parsing, Translation, and Compiling , 1972 .

[5]  Peter R. J. Asveld An Alternative Formulation of Cocke-Younger-Kasami's Algorithm , 1994, Bull. EATCS.

[6]  Sheila A. Greibach Full AFLs and Nested Iterated Substitution , 1970, Inf. Control..

[7]  Moti Schneider,et al.  The utilization of fuzzy sets in the recognition of imperfect strings , 1992 .

[8]  Jeffrey D. Ullman,et al.  Introduction to Automata Theory, Languages and Computation , 1979 .

[9]  W. Wechler The concept of fuzziness in automata and language theory , 1978 .

[10]  Moti Schneider,et al.  The recognition of imperfect strings generated by fuzzy context sensitive grammars , 1994 .

[11]  Jan van Leeuwen,et al.  A Generalisation of Parikh's Theorem in Formal Language Theory , 1974, ICALP.

[12]  Lotfi A. Zadeh,et al.  Note on fuzzy languages , 1969, Inf. Sci..

[13]  Michael A. Harrison,et al.  Introduction to formal language theory , 1978 .

[14]  Giangiacomo Gerla,et al.  Fuzzy grammars and recursively enumerable fuzzy languages , 1992, Inf. Sci..

[15]  A. Salomaa Wechler, W., The Concept of Fuzziness in Automata and Language Theory. Studien zur Algebra und ihre Anwendungen 5. Berlin, Akademie‐Verlag 1978. 148 S., M 27,– , 1980 .

[16]  Peter R. J. Asveld,et al.  Towards Robustness in Parsing - Fuzzifying Context-Free Language Recognition , 1995, Developments in Language Theory.

[17]  Peter R. J. Asveld,et al.  An Algebraic Approach to Incomparable Families of Formal Languages , 1992 .