Learning to lemmatise Polish noun phrases

Adam RadziszewskiACL 2013

Abstract

This paper presents a machine-learning approach to the lemmatisation of Polish noun phrases (NPs). By framing the task as a sequence tagging problem using Conditional Random Fields (CRF), the authors decompose phrase-level lemmatisation into a set of word-level transformations. This method effectively decouples lemmatisation logic from phrase chunking, achieving high accuracy on gold-standard boundaries and identifying chunking as the primary performance bottleneck.

Introduction

In morphologically rich languages such as Polish, lemmatisation—the process of determining the base dictionary form of a word—presents significant challenges compared to English. For noun phrases (NPs), the task is even more complex. A phrase like głównym miastem ("the main city" in the instrumental case) must be transformed into its nominative base form, główne miasto. Simple concatenation of individual word lemmas often fails because Polish adjectives are typically lemmatised in the masculine singular form by default, which may not align with the gender of the noun in the specific phrase. This paper introduces a novel machine-learning approach that treats NP lemmatisation as a sequence tagging problem, successfully decoupling the lemmatisation logic from initial phrase chunking.

Methodology

The authors employ Conditional Random Fields (CRF) to cast NP lemmatisation as a tagging task. Rather than predicting the lemma string directly, the model predicts a transformation tag for each token. These tags act as instructions for a morphological generator.

Common transformation tags include:

  • cas=nom: Change the case to nominative.
  • nmb=sg: Change the number to singular.
  • =: No change required (the word is already in its base form).
  • p: Strip a phrase-initial preposition.
Figure 4: Illustration of transformation tags applied to a prepositional phrase to derive its nominative base form.

The system utilizes a rich feature set, including POS tags, grammatical class, gender, and agreement tests. A two-stage pipeline first performs POS tagging and NP chunking, followed by CRF-based transformation prediction. Finally, the Morfeusz SGJP morphological dictionary is used to generate the final word forms.

Key Insights

Analysis of the training data revealed that NP lemmatisation is highly regular. A small set of transformations is remarkably expressive; the top five most frequent tags accounted for 98.7% of all cases in the dataset. This sparsity confirms that a tagging-based approach is well-suited for the task. Furthermore, by separating lemmatisation from chunking, the system remains modular, allowing it to benefit from future improvements in Polish NP parsing without requiring internal architectural changes.

Results and Evaluation

The system was evaluated using a manually annotated subset of the KPWr (Polish Corpus of Wrocław University of Technology). Performance was measured in two scenarios:

  1. Gold Boundaries: When provided with correct phrase boundaries, the CRF achieved an accuracy of 80.7%, significantly outperforming orthographic and lemma-based baselines.
  2. Full Pipeline: When the system performed its own chunking, the F-score dropped to 56.0%.
Figure 6: Performance metrics for the CRF-based lemmatiser compared to baselines in the full pipeline scenario.

The performance gap suggests that the primary bottleneck in Polish NP lemmatisation is not the transformation logic itself, but the difficulty of accurate phrase boundary detection (chunking).

Conclusion

This research demonstrates that treating NP lemmatisation as a sequence tagging problem is an effective strategy for morphologically complex languages. While the current reliance on an external morphological dictionary is a limitation, the high accuracy on gold boundaries proves the viability of the transformation-tagging paradigm. Future work will explore the use of "edit scripts" to perform string-to-string transformations directly, potentially increasing robustness to out-of-vocabulary words and typos.

Summary updated

BibTeX
@inproceedings{radziszewski2013learning,
  author = {Adam Radziszewski},
  title = {{Learning to lemmatise Polish noun phrases}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2013},
}
Figure