Skip to main content
QUICK REVIEW

[Paper Review] CLASSLA-Stanza: The Next Step for Linguistic Processing of South Slavic Languages

Luka Terčon, Nikola Ljubešić|arXiv (Cornell University)|Aug 8, 2023
Natural Language Processing TechniquesComputer Science13 citations
TL;DR

This paper presents CLASSLA-Stanza, an enhanced South Slavic language processing pipeline built on Stanza, detailing its improvements, training procedure, and evaluation across multiple languages and tasks.

ABSTRACT

We present CLASSLA-Stanza, a pipeline for automatic linguistic annotation of the South Slavic languages, which is based on the Stanza natural language processing pipeline. We describe the main improvements in CLASSLA-Stanza with respect to Stanza, and give a detailed description of the model training process for the latest 2.1 release of the pipeline. We also report performance scores produced by the pipeline for different languages and varieties. CLASSLA-Stanza exhibits consistently high performance across all the supported languages and outperforms or expands its parent pipeline Stanza at all the supported tasks. We also present the pipeline's new functionality enabling efficient processing of web data and the reasons that led to its implementation.

Motivation & Objective

  • Provide a systematic overview of how CLASSLA-Stanza differs from Stanza and why these differences improve performance for South Slavic languages.
  • Describe the training data, augmentation, and language-specific adaptations used in the 2.1 release.
  • Explain the model training workflow and evaluation setup across tasks and languages.

Proposed method

  • Adopt a rule-based tokenization approach with two external tokenizers (Obeliks for Slovenian standard; ReLDI for nonstandard Slovenian and other languages).
  • Incorporate external inflectional lexicons to constrain morphosyntactic tagging and lemmatization; use XPOS tags with full morphosyntactic information for lemmas.
  • Train language-specific models for six tasks (tokenization, morphosyntactic tagging, lemmatization, dependency parsing, semantic role labeling, NER) with UD and JOS schemes where applicable.
  • Use pretokenized data and auto-generated upstream annotations for validation to mimic realistic evaluation conditions across layers.
  • Employ data augmentation and oversampling, especially for non-standard varieties, and handle diacritics removal in non-standard datasets to improve robustness.
  • Support three processing types (standard, nonstandard, web) with corresponding model selections per language varity.
Figure 1: Example of a sentence parsed with both the UD (above) and JOS (below) systems of syntactic annotation. Note that the JOS system supports multiple relations having the root element as their origin, whereas the UD annotation system only permits one relation in each sentence to originate in t
Figure 1: Example of a sentence parsed with both the UD (above) and JOS (below) systems of syntactic annotation. Note that the JOS system supports multiple relations having the root element as their origin, whereas the UD annotation system only permits one relation in each sentence to originate in t

Experimental results

Research questions

  • RQ1How does CLASSLA-Stanza performance compare to Stanza across South Slavic languages and varieties?
  • RQ2What training data strategies (augmentation, oversampling, lexicon usage) yield the best improvements for morphosyntactic tagging, lemmatization, and parsing?
  • RQ3What are the language-specific adaptations needed for Slovenian, Croatian, Serbian, Macedonian, and Bulgarian in this pipeline?
  • RQ4How does the inclusion of external inflectional lexicons and rule-based tokenizers affect overall system performance and error profiles?
  • RQ5What is the impact of processing varieties (standard, nonstandard, web) on the different annotation tasks?

Key findings

  • CLASSLA-Stanza consistently achieves higher performance than Stanza across supported tasks on the evaluated data.
  • On the SloBENCH Slovenian benchmark, CLASSLA-Stanza reduces errors relative to Stanza by up to 98% in sentence segmentation and shows notable gains in other tasks.
  • Lexicon-informed lemmatization and morphosyntactic tagging improve accuracy, with Slovenian benefiting from in-model lexicon usage during tagging.
  • Non-standard and web varieties are handled via data augmentation and processing-type settings, achieving robust performance despite limited non-standard data.
  • Stacked training data and language-specific augmentations (e.g., Serbian-Croatian data mixing) help improve morphosyntactic tagging and lemmatization for closely related languages.
  • Processing types and tokenizers are designed to better handle South Slavic inflectional morphology and noisy web text.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.