NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Building a Large Automatically Parsed Corpus of Finnish

Filip Ginter, Jenna Nyblom, Veronika Laippala, Samuel Kohonen, Katri Haverinen, Simo Vihjanen, Tapio SalakoskiNodalida 2013

Abstract

This paper details the creation of FinnTreeBank-3 (FTB-3), a massive 76.4-million-token Finnish corpus featuring high-quality morphological and dependency syntax annotations. By combining expert-written transformation rules with machine learning to bridge the gap between disparate linguistic annotation schemes, the research team developed a robust parsing pipeline. The resulting "parsebank" provides a critical resource for large-scale language technology research in Finnish, a morphologically rich language that presents unique challenges for automated parsing.

Introduction

In Natural Language Processing (NLP), Finnish is categorized as a morphologically rich language, making accurate syntactic parsing difficult. While small, manually annotated "treebanks" existed, there was a significant need for a massive, automatically parsed corpus to support modern language technology. The authors faced a specific engineering hurdle: they were required to build this corpus using the FinnTreeBank (FTB) annotation scheme, yet the most comprehensive training data available for Finnish used the Stanford Dependencies (SD) system. The core challenge was building a "translator" to convert existing linguistic knowledge into the new format without sacrificing accuracy.

Methodology: A Hybrid Parsing Pipeline

The authors developed a multi-stage pipeline that balances linguistic precision with computational efficiency through three primary components:

1. Scheme Transformation

To utilize the existing Turku Dependency Treebank (TDT) for training, it had to be converted from Stanford Dependencies to the FTB scheme. The team employed a hybrid system consisting of 305 hand-written rules to handle major structural changes, such as the relationship between subjects and copular verbs. This was followed by Machine Learning (ML) post-processing using a Regularized Least Squares ranker to resolve edge cases, fix disconnected tree segments, and eliminate logical cycles.

Figure 1: Comparison of dependency trees for the same Finnish sentence under the Stanford Dependencies (top) and FinnTreeBank (bottom) schemes.

2. Morphological Tagging and Specialized Lexicons

The team adapted FinCG, a commercial tagger, using custom mapping tables and lexicons to handle specialized legal and parliamentary vocabulary found in the target corpora. This domain adaptation was crucial for reducing the "unrecognized word" rate in dense technical texts.

3. Dependency Parsing and the $O(n^2)$ Workaround

The Mate-Tools parser, a state-of-the-art graph-based statistical parser, was used for dependency analysis. Because graph-based parsers suffer from quadratic complexity ($O(n^2)$), they often stall on long sentences common in legal documents. To solve this, the team automatically split sentences exceeding 100 tokens into chunks, parsed them separately, and used an ML classifier to stitch the roots back together, ensuring the pipeline could process 76 million tokens in approximately 10 hours.

Datasets

  • FinnTreeBank-3 (FTB-3): The final output, containing 76.4 million tokens drawn from the EuroParl (European Parliament) and JRC-Acquis (EU law) corpora.
  • Turku Dependency Treebank (TDT): The primary training set, augmented with 45,000 newly annotated tokens from target domains.
  • FinnTreeBank-1 (FTB-1): A "grammar definition" treebank used to establish the target syntax scheme.

Results and Evaluation

An independent evaluation by the FIN-CLARIN consortium confirmed that the hybrid transformation approach maintained high structural integrity. The pipeline exceeded pre-agreed accuracy thresholds across all major metrics.

Figure 4: Accuracy metrics for the FTB-3 parsing pipeline as determined by independent evaluation.

As shown in the table above, lemmatization and morphological analysis reached near-human levels of accuracy (98% and 97%, respectively), while dependency relations maintained a robust 88–89% accuracy range.

Discussion and Future Work

The project demonstrates that hybrid engineering—starting with expert rules and using ML for refinement—outperforms pure statistical conversion between dependency schemes. However, limitations remain. The statistical parser occasionally produces linguistically impossible "double subjects," and the target scheme (FTB-1), based on grammar book examples, sometimes clashes with the dense prose of EU legal texts. Future work may involve more integrated constraint-based approaches to prevent impossible syntactic structures.

Availability: The parsed corpus is freely available through the FIN-CLARIN infrastructure at http://www.ling.helsinki.fi/kieliteknologia/tutkimus/treebank/.

Summary updated

BibTeX
@inproceedings{ginter2013building,
  author = {Filip Ginter and Jenna Nyblom and Veronika Laippala and Samuel Kohonen and Katri Haverinen and Simo Vihjanen and Tapio Salakoski},
  title = {{Building a Large Automatically Parsed Corpus of Finnish}},
  booktitle = {Nodalida},
  year = {2013},
}
Figure