---
title: "Grammar Engineering for a Customer: a Case Study with Five"
description: "The paper describes a commercial project. 24 references, cited by 2 papers here. Among them: 4."
authors: ["Aarne Ranta", "Christina Unger", "Daniel Vidal Hussey"]
year: 2015
venue: "Proceedings of the Grammar Engineering Across Frameworks (GEAF) 2015 Workshop"
source: "https://aclanthology.org/W15-3301/"
doi: "10.18653/v1/w15-3301"
licence: "CC BY-NC-SA 3.0 (ACL Anthology, before 2016)"
licence_url: "https://creativecommons.org/licenses/by-nc-sa/3.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/ranta-2015-grammar-engineering-customer-case-study/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/ranta-2015-grammar-engineering-customer-case-study/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2015](https://md.research.elamur.ai/free/en/papers/2015/page/3/) / Grammar Engineering for a Customer: a Case Study with Five Languages

# Grammar Engineering for a Customer: a Case Study with Five Languages

**Authors:** [Aarne Ranta](https://md.research.elamur.ai/free/en/authors/aarne-ranta/), Christina Unger and Daniel Vidal Hussey · **Year:** 2015 · **Venue:** [Proceedings of the Grammar Engineering Across Frameworks (GEAF) 2015 Workshop](https://md.research.elamur.ai/free/en/venues/grammar-engineering-across-frameworks-geaf-workshop/) ([Grammar Engineering Across Frameworks (GEAF) Workshop 2015](https://md.research.elamur.ai/free/en/venues/grammar-engineering-across-frameworks-geaf-workshop/2015/)) · **Publisher:** [Association for Computational Linguistics](https://md.research.elamur.ai/free/en/publishers/association-for-computational-linguistics/) · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

**Links:** [Publisher's page](https://aclanthology.org/W15-3301/) · [PDF](https://aclanthology.org/W15-3301.pdf) · [DOI 10.18653/v1/w15-3301](https://doi.org/10.18653/v1/w15-3301) · [OpenAlex](https://openalex.org/W2250223619)

**Citations:** 4 citations (OpenAlex, 2026-10-14) · [2](https://md.research.elamur.ai/free/en/papers/ranta-2015-grammar-engineering-customer-case-study/cited-by/) in our library, of the 149,439 papers whose bibliographies we read

## Summary
The paper describes a commercial project. The company Digital Grammars AB, commissioned by the Swedish web service Tillgänglighetsdatabasen, built a grammar-based machine translation system. The service describes how accessible various places are for people with disabilities. The system translates from Swedish into English, Finnish, German, and Spanish. Previous applications of GF (Grammatical Framework) worked with a controlled language. Here, the input texts were written by different authors over several years, so they contain errors and HTML markup. The authors chose the "embedded CNL" approach. A domain-specific controlled grammar is built on the Resource Grammar Library and embedded in a general wide-coverage grammar (WCT), which serves as a fallback. Probabilistic weights give preference to domain parses, and the resulting translations are then post-edited by humans. The domain grammar parsed 95% of the sentences, and the fallback mode covered the rest. BLEU against the post-edited translations was 73–74, compared with 28–37 for Google Translate. The whole project took 138 of the planned 200 hours. The work is valuable because it assesses the real cost and commercial viability of grammar-based translation beyond research prototypes.

## Key points
- **Corpus:** about 1,900 short, formulaic texts. After markup removal, 1,185 unique texts remained: 7,309 words, 980 lemmas according to SALDO. The grammar distinguishes 13 types of variables. The Swedish lexicon contains 72 multiword constructions, the English one 274.
- **Quality:** BLEU was 73 for Finnish, 73 for German, and 74 for Spanish; for Google, 28, 37, and 28 respectively. Without post-editing, 46%, 42%, and 32% of the translations were correct. Caveat: the grammar was evaluated on the same data on which it was built, and Google only on a small sample.
- **Effort:** the shared components (abstract syntax, Swedish and English grammars, data preparation) took 48 hours, and this cost is recouped with each new language. The grammar itself took 14 hours for Finnish, 18 for German, and 38 for Spanish; the Spanish grammar was written by a student with no prior experience with GF.
- **Code size:** approximately 1,290 lines of GF per language, 8,056 lines in total. The robustness module is 70 lines long and identical for all languages.
- **Economics:** post-editing proceeded at a rate of 900–1 200 words per hour. However, once grammar development is taken into account, the overall rate was about 160 words per hour, i.e., on par with human translation. The benefit emerges when new texts of the same type are translated later.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

## Institutions

- [University of Gothenburg](https://md.research.elamur.ai/free/en/universities/university-of-gothenburg/) — University, Gothenburg, Sweden · 34 works · 1,625 citations
- [Bielefeld University](https://md.research.elamur.ai/free/en/universities/bielefeld-university/) — University, Bielefeld, Germany · 35 works · 1,196 citations

📚 Shelves (4): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 16,667 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 16,194 works · [🎭 Arts and Humanities](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · 16,039 works · [🗣️ Language and Linguistics](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · 15,891 works

🧭 Topics (1): [📐 Syntax & grammar formalisms](https://md.research.elamur.ai/free/en/topics/syntax-grammar/) · 214 works

## Cite

Cite as: Aarne Ranta, Christina Unger and Daniel Vidal Hussey. 2015. Grammar Engineering for a Customer: a Case Study with Five Languages. Proceedings of the Grammar Engineering Across Frameworks (GEAF) 2015 Workshop.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{ranta2015grammar,
  title = {{Grammar Engineering for a Customer: a Case Study with Five Languages}},
  author = {Aarne Ranta, Christina Unger and Daniel Vidal Hussey},
  booktitle = {Proceedings of the Grammar Engineering Across Frameworks (GEAF) 2015 Workshop},
  year = {2015},
  doi = {10.18653/v1/w15-3301},
  url = {https://doi.org/10.18653/v1/w15-3301}
}
```

- [← previous DEVELOPING ENGLISH MORPHOLOGY MATERIALS FOR UNDERGRADUATE STUDENTS AT ALAUDDIN STATE ISLAMIC UNIVERSITY OF MAKASSAR](https://md.research.elamur.ai/free/en/papers/sukirman-2015-developing-english-morphology-materials-undergraduate/)
- [next → Sentiment Classification of Arabic Documents: Experiments with multi-type features and ensemble algorithms](https://md.research.elamur.ai/free/en/papers/bayoudhi-2015-sentiment-classification-arabic-documents-experiments/)
- [↑ back to papers of 2015](https://md.research.elamur.ai/free/en/papers/2015/page/3/)

## References

24 references, 1 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Alfred V. Aho and Jeffrey D. Ullman. 1969. Syntax directed translations and the pushdown assembler. Journal of Computer and System Sciences, 3(1):37 – 56. [find](https://scholar.google.com/scholar?q=Alfred+V%2E+Aho+and+Jeffrey+D%2E+Ullman%2E+1969%2E+Syntax+directed+translations+and+the+pushdown+assembler%2E+Journal+of+Computer+and+System+Sciences%2C+3%281%29%3A37+%E2%80%93+56%2E)
2. Krasimir Angelov and Peter Ljunglöf. 2014. Fast statistical parsing with parallel multiple context-free grammars. In EACL’14, pages 368–376. [find](https://scholar.google.com/scholar?q=Krasimir+Angelov+and+Peter+Ljunglo%CC%88f%2E+2014%2E+Fast+statistical+parsing+with+parallel+multiple+context%2Dfree+grammars%2E+In+EACL%E2%80%9914%2C+pages+368%E2%80%93376%2E)
3. Krasimir Angelov, Björn Bringert, and Aarne Ranta. 2014. Speech-enabled hybrid multilingual translation for mobile devices. EACL’14, pages 41–44. [find](https://scholar.google.com/scholar?q=Krasimir+Angelov%2C+Bjo%CC%88rn+Bringert%2C+and+Aarne+Ranta%2E+2014%2E+Speech%2Denabled+hybrid+multilingual+translation+for+mobile+devices%2E+EACL%E2%80%9914%2C+pages+41%E2%80%9344%2E)
4. Lars Borin, Markus Forsberg, and Lennart Lönngren. 2013. Saldo: a touch of yin to wordnet’s yang. Language resources and evaluation, 47(4):1191–1211. [find](https://scholar.google.com/scholar?q=Lars+Borin%2C+Markus+Forsberg%2C+and+Lennart+Lo%CC%88nngren%2E+2013%2E+Saldo%3A+a+touch+of+yin+to+wordnet%E2%80%99s+yang%2E+Language+resources+and+evaluation%2C+47%284%29%3A1191%E2%80%931211%2E)
5. Miriam Butt, Helge Dyvik, Tracy Holloway King, Hiroshi Masuichi, and Christian Rohrer. 2002. [The parallel grammar project](https://md.research.elamur.ai/free/en/papers/butt-2002-parallel-grammar-project/). In Proceedings of the 2002 workshop on Grammar engineering and evaluation-Volume 15, pages 1–7. Association for Computational Linguistics.
6. Haskell B. Curry. 1961. Some logical aspects of grammatical structure. In Roman Jakobson, editor, Structure of Language and its Mathematical Aspects: Proceedings of the Twelfth Symposium in Applied Mathematics, pages 56–68. American Mathematical Society. [find](https://scholar.google.com/scholar?q=Haskell+B%2E+Curry%2E+1961%2E+Some+logical+aspects+of+grammatical+structure%2E+In+Roman+Jakobson%2C+editor%2C+Structure+of+Language+and+its+Mathematical+Aspects%3A+Proceedings+of+the+Twelfth+Symposium+in+Applied+Ma)
7. Mariana Damova, Dana Dannélls, Ramona Enache, Maria Mateva, and Aarne Ranta. 2014. Multilingual natural language interaction with semantic web knowledge bases and linked open data. In Towards the Multilingual Semantic Web, pages 211– 226. Springer Berlin Heidelberg. [find](https://scholar.google.com/scholar?q=Mariana+Damova%2C+Dana+Danne%CC%81lls%2C+Ramona+Enache%2C+Maria+Mateva%2C+and+Aarne+Ranta%2E+2014%2E+Multilingual+natural+language+interaction+with+semantic+web+knowledge+bases+and+linked+open+data%2E+In+Towards+the+Mul)
8. Brian Davis, Ramona Enache, Jeroen van Grondelle, and Laurette Pretorius. 2012. Multilingual verbalisation of modular ontologies using gf and lemon. In Tobias Kuhn and Norbert Fuchs, editors, Controlled Natural Language, volume 7427 of LNCS/LNAI, pages 167–184. Springer. [find](https://scholar.google.com/scholar?q=Brian+Davis%2C+Ramona+Enache%2C+Jeroen+van+Grondelle%2C+and+Laurette+Pretorius%2E+2012%2E+Multilingual+verbalisation+of+modular+ontologies+using+gf+and+lemon%2E+In+Tobias+Kuhn+and+Norbert+Fuchs%2C+editors%2C+Controll)
9. Grégoire Détrez and Aarne Ranta. 2012. Smart paradigms and the predictability and complexity of inflectional morphology. In EACL (European Association for Computational Linguistics), Avignon, April. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Gre%CC%81goire+De%CC%81trez+and+Aarne+Ranta%2E+2012%2E+Smart+paradigms+and+the+predictability+and+complexity+of+inflectional+morphology%2E+In+EACL+%28European+Association+for+Computational+Linguistics%29%2C+Avignon%2C+April%2E)
10. Marc Dymetman, Veronika Lux, and Aarne Ranta. 2000. XML and multilingual document authoring: Convergent trends. In Proc. Computational Linguistics COLING, Saarbrücken, Germany, pages 243–249. International Committee on Computational Linguistics. [find](https://scholar.google.com/scholar?q=Marc+Dymetman%2C+Veronika+Lux%2C+and+Aarne+Ranta%2E+2000%2E+XML+and+multilingual+document+authoring%3A+Convergent+trends%2E+In+Proc%2E+Computational+Linguistics+COLING%2C+Saarbru%CC%88cken%2C+Germany%2C+pages+243%E2%80%93249%2E+Interna)
11. Ramona Enache, Inari Listenmaa, and Prasanth Kolachina. 2014. Handling non-compositionality in multilingual CNLs. In Controlled Natural Language - 4th International Workshop, CNL 2014, Galway, Ireland, August 20-22, 2014. Proceedings, volume 8625 of LNCS. [find](https://scholar.google.com/scholar?q=Ramona+Enache%2C+Inari+Listenmaa%2C+and+Prasanth+Kolachina%2E+2014%2E+Handling+non%2Dcompositionality+in+multilingual+CNLs%2E+In+Controlled+Natural+Language+%2D+4th+International+Workshop%2C+CNL+2014%2C+Galway%2C+Ireland)
12. Norbert E. Fuchs, Kaarel Kaljurand, and Tobias Kuhn. 2008. Attempto Controlled English for Knowledge Representation. In Cristina Baroglio, Piero A. Bonatti, Jan Małuszyński, Massimo Marchiori, Axel Polleres, and Sebastian Schaffert, editors, Reasoning Web, Fourth International Summer School 2008, n… [find](https://scholar.google.com/scholar?q=Norbert+E%2E+Fuchs%2C+Kaarel+Kaljurand%2C+and+Tobias+Kuhn%2E+2008%2E+Attempto+Controlled+English+for+Knowledge+Representation%2E+In+Cristina+Baroglio%2C+Piero+A%2E+Bonatti%2C+Jan+Ma%C5%82uszyn%CC%81ski%2C+Massimo+Marchiori%2C+Axel+P)
13. Meritxell Gonzàlez, Jesús Giménez, and Lluı́s Màrquez. 2012. A Graphical Interface for MT Evaluation and Error Analysis. In The 50th Annual Meeting of the Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Meritxell+Gonza%CC%80lez%2C+Jesu%CC%81s+Gime%CC%81nez%2C+and+Llu%C4%B1%CC%81s+Ma%CC%80rquez%2E+2012%2E+A+Graphical+Interface+for+MT+Evaluation+and+Error+Analysis%2E+In+The+50th+Annual+Meeting+of+the+Association+for+Computational+Linguistics)
14. Thomas Hallgren, Aarne Ranta, John Camilleri, Grégoire Détrez, and Ramona Enache. 2012. Grammar Tools and Best Practices. MOLTO Deliverable D2.3, June. [find](https://scholar.google.com/scholar?q=Thomas+Hallgren%2C+Aarne+Ranta%2C+John+Camilleri%2C+Gre%CC%81goire+De%CC%81trez%2C+and+Ramona+Enache%2E+2012%2E+Grammar+Tools+and+Best+Practices%2E+MOLTO+Deliverable+D2%2E3%2C+June%2E)
15. Richard Montague. 1974. Formal Philosophy. Yale University Press, New Haven. Collected papers edited by Richmond Thomason. [find](https://scholar.google.com/scholar?q=Richard+Montague%2E+1974%2E+Formal+Philosophy%2E+Yale+University+Press%2C+New+Haven%2E+Collected+papers+edited+by+Richmond+Thomason%2E)
16. Aarne Ranta, Ramona Enache, and Grégoire Détrez. 2012. Controlled Language for Everyday Use: the MOLTO Phrasebook. In Tobias Kuhn and Norbert Fuchs, editors, Controlled Natural Language, volume 7427 of LNCS/LNAI. Springer. [find](https://scholar.google.com/scholar?q=Aarne+Ranta%2C+Ramona+Enache%2C+and+Gre%CC%81goire+De%CC%81trez%2E+2012%2E+Controlled+Language+for+Everyday+Use%3A+the+MOLTO+Phrasebook%2E+In+Tobias+Kuhn+and+Norbert+Fuchs%2C+editors%2C+Controlled+Natural+Language%2C+volume+7427)
17. Aarne Ranta. 2009. The GF Resource Grammar Library. Linguistics in Language Technology, 2:1–65. [find](https://scholar.google.com/scholar?q=Aarne+Ranta%2E+2009%2E+The+GF+Resource+Grammar+Library%2E+Linguistics+in+Language+Technology%2C+2%3A1%E2%80%9365%2E)
18. Aarne Ranta. 2011. Grammatical Framework: Programming with Multilingual Grammars. CSLI Publications, Stanford. [find](https://scholar.google.com/scholar?q=Aarne+Ranta%2E+2011%2E+Grammatical+Framework%3A+Programming+with+Multilingual+Grammars%2E+CSLI+Publications%2C+Stanford%2E)
19. Aarne Ranta. 2014. Embedded controlled languages. In Controlled Natural Language - 4th International Workshop, CNL 2014, Galway, Ireland, August 20-22, 2014. Proceedings, volume 8625 of LNCS. [find](https://scholar.google.com/scholar?q=Aarne+Ranta%2E+2014%2E+Embedded+controlled+languages%2E+In+Controlled+Natural+Language+%2D+4th+International+Workshop%2C+CNL+2014%2C+Galway%2C+Ireland%2C+August+20%2D22%2C+2014%2E+Proceedings%2C+volume+8625+of+LNCS%2E)
20. Jussi Rautio and Maarit Koponen. 2013. Deliverable 9.2: Molto evaluation and assessment report. [find](https://scholar.google.com/scholar?q=Jussi+Rautio+and+Maarit+Koponen%2E+2013%2E+Deliverable+9%2E2%3A+Molto+evaluation+and+assessment+report%2E)
21. Manny Rayner, David Carter, Pierrette Bouillon, Vassilis Digalakis, and Mats Wirén. 2000. The Spoken Language Translator. Cambridge University Press, Cambridge. [find](https://scholar.google.com/scholar?q=Manny+Rayner%2C+David+Carter%2C+Pierrette+Bouillon%2C+Vassilis+Digalakis%2C+and+Mats+Wire%CC%81n%2E+2000%2E+The+Spoken+Language+Translator%2E+Cambridge+University+Press%2C+Cambridge%2E)
22. Manny Rayner, Beth Ann Hockey, and Pierrette Bouillon. 2006. Putting Linguistics into Speech Recognition: The Regulus Grammar Compiler. CSLI Publications. [find](https://scholar.google.com/scholar?q=Manny+Rayner%2C+Beth+Ann+Hockey%2C+and+Pierrette+Bouillon%2E+2006%2E+Putting+Linguistics+into+Speech+Recognition%3A+The+Regulus+Grammar+Compiler%2E+CSLI+Publications%2E)
23. M. T. Rosetta. 1994. Kluwer, Dordrecht. [find](https://scholar.google.com/scholar?q=M%2E+T%2E+Rosetta%2E+1994%2E+Kluwer%2C+Dordrecht%2E)
24. Compositional Translation. Jordi Saludes and Sebastian Xambó. 2011. The gf mathematics library. In Pedro Quaresma and Ralph-Johan Back, editors, Proceedings First Workshop on CTP Components for Educational Software (THedu’11), number 79, pages 102–110. Electronic Proceedings in Theoretical Computer… [find](https://scholar.google.com/scholar?q=Compositional+Translation%2E+Jordi+Saludes+and+Sebastian+Xambo%CC%81%2E+2011%2E+The+gf+mathematics+library%2E+In+Pedro+Quaresma+and+Ralph%2DJohan+Back%2C+editors%2C+Proceedings+First+Workshop+on+CTP+Components+for+Educa)

*Updated 29 October 2026*
