Grammatical inference from data exchange files - An experiment on engineering software.

Markus Exler, Michael Moser, Josef Pichler, Günter Fleck, Bernhard Dorninger

Research output: Contribution to conferencePaperpeer-review

4 Citations (Scopus)

Abstract

Complex engineering problems are typically solved by running a batch of software programs. Data exchange between these software programs is frequently based on semi-structured text files. These files are edited by text editors providing basic input support, however without proper input validation prior program execution. Consequently, even minor lexical or syntactic errors cause software programs to stop without delivering a result. To tackle these problems a more specific editor support, which is aware of language concepts of data exchange files, needs to be provided. In this paper, we investigate if and in what quality a language grammar can be inferred from a set of existing text files, in order to provide a basis for the desired editing support. For this experiment, we chose a Minimal Adequate Teacher (MAT) method together with specific preprocessing of the existing text files. Thereby, we were able to construct complete grammar rules for most of the language constructs found in a corpus of semi-structured text files. The inferred grammar, however, requires refactoring towards a suitable and maintainable basis for the desired editor support.

Original languageEnglish
Pages557-561
Number of pages5
DOIs
Publication statusPublished - 2 Apr 2018

Keywords

  • Grammatical inference
  • Legacy software
  • Software modernization

Fingerprint

Dive into the research topics of 'Grammatical inference from data exchange files - An experiment on engineering software.'. Together they form a unique fingerprint.

Cite this