• No results found

IT Faculty

N/A
N/A
Protected

Academic year: 2021

Share "IT Faculty"

Copied!
1
0
0

Loading.... (view fulltext now)

Full text

(1)

Formal Methods for Testing Grammars

Inari Listenmaa

Ph.D. thesis

Department of Computer Science and Engineering

University of Gothenburg, Sweden 2019

Inari Listenmaa

Computational grammars are computer programs which describe subsets of natural languages. They are used in applications such as machine translation and natural language generation, especially when the focus is on quality rather than coverage. Just like any other software, these grammars may contain bugs, and hence they need to be tested to ensure their quality. This thesis presents two contribu- tions in testing computational grammars.

The first method ensures that individual grammar rules do not con- tradict each other. With just the grammar itself, and a wide-coverage word list for the language, we employ a set of logical constraints which reveal any internal inconsistencies in the grammar.

The second method ensures that the grammar produces correct language. We devise an interaction with grammar writers, who are experts in both linguistics and programming, and testers, who only need to be fluent in the language. Our solution is to generate a mini- mal and exhaustive sample of sentences, which the testers can read and point out any errors, or confirm that they are correct.

We present complete implementations of both methods, along with evaluation on languages from diverse language families.

2019 IT Faculty

ISBN 978-91-7833-322-6

For mal M ethods f or Testing Gr ammars

References

Related documents

solochorus från låten Falling Grace som är med på Methenys och Halls skiva, eftersom jag tyckte att det var väldigt bra spelat. Jag plankade det väldigt noggrant och lärde mig

It is therefore important that managers hand over the dismissed people to job security councils or any other person that can help them get through the crisis, who can

because the urgencyʼs gone. […] Well, carrying Lee, she staggered along the five buildings to get to the restaurant. The old door at the back, facing the carpark, had been

[r]

DEVELOPMENTAL PLASTICITY OF THE GLUTAMATE SYNAPSE: ROLES OF LOW FREQUENCY STIMULATION, HEBBIAN INDUCTION AND THE NMDA RECEPTOR Joakim Strandberg Department of Physiology, Institute

Intervjufrågorna och svaren som tas upp nedan är kopplade till variabel 5 (dubbelriktad kommunikation) samt variabel 6 (enkelriktad kommunikation) för att undersöka hur

As for the patterns that were observed in relation to re- search question 3, as defined in Section 1.1, based on the 25 papers that were included in this research paper,

(2015) poängterar att en konsekvens av kundernas ökade inflytande på varandra lett till att varumärken måste vara transparenta och autentiska för att kunna överleva idag..