Unfuzzying Fuzzy Parsing

Traditional parsing has always been a focus of discussion among the computer science community. Numerous techniques and algorithms have been proposed along these years, but they require that input texts are correct according to a specific grammar. However, in some cases it’s necessary to cope with incorrect or unpredicted inputs that raise ambiguities, making traditional parsing unsuitable. These situations led to the emergence of robust parsing theories, where fuzzy parsing gains relevance. Robust parsing comes with a price by losing precision and decaying performance, as multiple parses of the input may be necessary while looking for an optimal one. In this short paper we briefly describe the main robust parsing techniques and end up proposing a dierent solution to deal with fuzziness of input texts. It is based on automata where states represent contexts and edges represent potential matches (of constructs of interest) inside those contexts. It is expected that such an approach reduces recognition time and ambiguity as contexts reduce the search space by defining a smaller domain for constructs of interest. Such benefits may be a great addition to the robust parsing area with application on program comprehension, among other research fields. 1998 ACM Subject Classification D.3.4 Processors

[1]  Yann-Gaël Guéhéneuc,et al.  A Theory of Program Comprehension: Joining Vision Science and Program Comprehension , 2009, Int. J. Softw. Sci. Comput. Intell..

[2]  Benjamin Naumann,et al.  Classical Descriptive Set Theory , 2016 .

[3]  Leon Moonen Lightweight impact analysis using island grammars , 2002, Proceedings 10th International Workshop on Program Comprehension.

[4]  Peter R. J. Asveld,et al.  Fuzzy context-free languages - Part 2: Recognition and parsing algorithms , 2000, Theor. Comput. Sci..

[5]  RAINER KOPPLER A Systematic Approach to Fuzzy Parsing , 1997, Softw. Pract. Exp..

[6]  Maria João Varanda Pereira,et al.  Program inspection to interconnect behavioral and operational view for program comprehension , 2007 .

[7]  John A. Fitzgerald,et al.  Application of fuzzy logic to online recognition of handwritten symbols , 2004, Ninth International Workshop on Frontiers in Handwriting Recognition.

[8]  A. Kechris Classical descriptive set theory , 1987 .

[9]  George Labahn,et al.  Recognizing handwritten mathematics via fuzzy parsing , 2010 .

[10]  Norman Wilde,et al.  The role of concepts in program comprehension , 2002, Proceedings 10th International Workshop on Program Comprehension.

[11]  Scott R. Tilley 15 Years of Program Comprehension , 2007, 15th IEEE International Conference on Program Comprehension (ICPC '07).

[12]  Alaa A. Kharbouch,et al.  Three models for the description of language , 1956, IRE Trans. Inf. Theory.

[13]  Leon Moonen,et al.  Generating robust parsers using island grammars , 2001, Proceedings Eighth Working Conference on Reverse Engineering.

[14]  Anneliese Amschler Andrews,et al.  Program Comprehension During Software Maintenance and Evolution , 1995, Computer.

[15]  Peter R.J. Asveld,et al.  A Fuzzy Approach to Erroneous Inputs in Context-Free Language Recognition , 1995, IWPT.

[16]  John A. Fitzgerald,et al.  Structural analysis of handwritten mathematical expressions through fuzzy parsing , 2006, ACST.

[17]  Maria João Varanda Pereira,et al.  Static and dynamic strategies to understand C programs by code annotation , 2007 .

[18]  Alfred V. Aho,et al.  Compilers: Principles, Techniques, and Tools , 1986, Addison-Wesley series in computer science / World student series edition.

[19]  Noam Chomsky,et al.  Three models for the description of language , 1956, IRE Trans. Inf. Theory.

[20]  James H. Cross,et al.  Reverse engineering and design recovery: a taxonomy , 1990, IEEE Software.