Back to search

Gothenburg University

Formal Methods for Testing Grammars

Abstract

dc:description.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

thesis:*
Department dc:contributor.department
Department of Computer Science and Engineering ; Institutionen för data- och informationsteknik
Year dc:date.issued
2019

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Listenmaa, Inari

Rights

Language dc:language.iso
swe

Identifiers

dc:identifier.*
ISBN
978-91-7833-323-3
Dc Identifier Other
ITF

Chain of custody

source
Harvested from
Gothenburg University
Base URL
gupea.ub.gu.se/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Listenmaa, Inari. Formal Methods for Testing Grammars. 2019. https://hdl.handle.net/2077/59037