A Type-Theoretical Wide-Coverage Computational Grammar for Swedish

  • Malin Ahlberg
  • Ramona Enache
Part of the Lecture Notes in Computer Science book series (LNCS, volume 7499)


The work describes a wide-coverage computational grammar for Swedish. It is developed using GF (Grammatical Framework), a functional language specialized for grammar programming. We trained and evaluated the grammar by using Talbanken, one of the largest treebanks for Swedish. As a result 65% of the Talbanken trees were translated into the GF format in the training stage and 76% of the noun phrases were parsed during the evaluation. Moreover, we obtained a language model for Swedish which we use for disambiguation.


grammar-formalism computational grammar treebank Swedish 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Ranta, A.: Grammatical Framework: Programming with Multilingual Grammars. CSLI Publications, Stanford (2011)Google Scholar
  2. 2.
    Angelov, K., Ranta, A.: Implementing Controlled Languages in GF. In: Fuchs, N.E. (ed.) CNL 2009. LNCS, vol. 5972, pp. 82–101. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  3. 3.
    Ljunglöf, P., Bringert, B., Cooper, R., Forslund, A.C., Hjelm, D., Jonson, R., Ranta, A.: The talk grammar library: an integration of gf with trindikit (2005)Google Scholar
  4. 4.
    Ranta, A., Enache, R., Détrez, G.: Controlled Language for Everyday Use: The MOLTO Phrasebook. In: Rosner, M., Fuchs, N.E. (eds.) CNL 2010. LNCS, vol. 7175, pp. 115–136. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  5. 5.
    España-Bonet, C., Enache, R., Slaski, A., Ranta, A., Marquez, L., Gonzalez, M.: Patent translation within the MOLTO project. In: Proceedings of the 4th Workshop on Patent Translation, MT Summit XIII, pp. 70–78 (2011)Google Scholar
  6. 6.
    Ahlberg, M., Enache, R.: Combining Language Resources Into A Grammar-Driven Swedish Parser. In: Proceedings of LREC (2012)Google Scholar
  7. 7.
    Einarsson, J.: Talbankens skriftspråkskonkordans. Lund University: Department of Scandinavian Languages (1976)Google Scholar
  8. 8.
    Nivre, J., Nilsson, J., Hall, J.: Talbanken05: A Swedish treebank with phrase structure and dependency annotation. In: Proceedings of the Fifth International Conference on Language Resources and Evaluation, LREC 2006, pp. 24–26 (2006)Google Scholar
  9. 9.
    Hall, J., Nivre, J., Nilsson, J.: A Hybrid Constituency-Dependency Parser for Swedish. In: Proceedings of NODALIDA 2007, pp. 284–287 (2007)Google Scholar
  10. 10.
    Kokkinakis, D., Kokkinakis, S.J.: A Cascaded Finite-State Parser for Syntactic Analysis of Swedish. In: Proceedings of the 9th EACL, pp. 245–248 (1999)Google Scholar
  11. 11.
    Birn, J.: Swedish Constraint Grammar. Technical report, Lingsoft Inc. (1998)Google Scholar
  12. 12.
    Tapanainen, P., Järvinen, T.: A non-projective dependency parser. In: Proceedings of the 5th Conference on Applied Natural Language Processing (1997)Google Scholar
  13. 13.
    Gambäck, B.: Processing Swedish Sentences: A Unification-Based Grammar and Some Applications. Ph.D. thesis, The Royal Institute of Technology and Stockholm University, Dept. of Computer and Systems Sciences (1997)Google Scholar
  14. 14.
    Stymne, S.: Swedish-English Verb Frame Divergences in a Bilingual Head-driven Phrase Structure Grammar for Machine Translation. Master’s thesis, Linköping University (2006)Google Scholar
  15. 15.
    Pollard, C., Sag, I.: Head-Driven Phrase Structure Grammar. University of Chicago Press (1994)Google Scholar
  16. 16.
    Bender, E.M., Flickinger, D., Oepen, S.: The Grammar Matrix: An Open-Source Starter-Kit for the Rapid Development of Cross-Linguistically Consistent Broad-Coverage Precision Grammars. In: Proceedings of the Workshop on Grammar Engineering and Evaluation at the 19th International Conference on Computational Linguistics, pp. 8–14 (2002)Google Scholar
  17. 17.
    Angelov, K., Enache, R.: Typeful Ontologies with Direct Multilingual Verbalization. In: Rosner, M., Fuchs, N.E. (eds.) CNL 2010. LNCS, vol. 7175, pp. 1–20. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  18. 18.
    Ranta, A.: Computational Semantics in Type Theory. Mathematics and Social Sciences 165, 31–57 (2004)MathSciNetGoogle Scholar
  19. 19.
    Ranta, A.: The GF Resource Grammar Library. Linguistic Issues in Language Technology (2009)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2012

Authors and Affiliations

  • Malin Ahlberg
    • 1
  • Ramona Enache
    • 1
  1. 1.Department of Computer Science & EngineeringGothenburg UniversityGothenburgSweden

Personalised recommendations