Formal Methods for Testing Grammars
Abstract
Grammar engineering has a lot in common with software engineering. Analogous to a program specification, we use descriptive grammar books; in place of unit tests, we have gold standard corpora and test cases for manual inspection. And just like any software, our grammars still contain bugs: grammatical sentences that are rejected, ungrammatical sentences that are parsed, or grammatical sentences that get the wrong parse.
This thesis presents two contributions to the analysis and quality control of computational grammars of natural languages. Firstly, we present a method for finding contradictory grammar rules in Constraint Grammar, a robust and low-level formalism for part-of-speech tagging and shallow parsing. Secondly, we generate minimal and representative test suites of example sentences that cover all grammatical constructions in Grammatical Framework, a multilingual grammar formalism based on deep structural analysis.
Degree
Doctor of Philosophy
University
Göteborgs universitet. IT-fakulteten
Institution
Department of Computer Science and Engineering ; Institutionen för data- och informationsteknik
Disputation
Fredagen den 8 mars 2019, kl. 10.00, EC, EDIT, Hörsalsvägen 11
Date of defence
2019-03-08
inari.listenmaa@gmail.com
Date
2019-02-15Author
Listenmaa, Inari
Publication type
Doctoral thesis
ISBN
978-91-7833-323-3
Series/Report no.
168D
Language
swe