Slovak Language Models for Basic Preprocessing Tasks in Python Cover Image

Slovak Language Models for Basic Preprocessing Tasks in Python
Slovak Language Models for Basic Preprocessing Tasks in Python

Author(s): Daniel Hládek, Maroš Harahus, Ján Staš, Matúš Pleva
Subject(s): Language and Literature Studies, Applied Linguistics, Computational linguistics
Published by: Jazykovedný ústav Ľudovíta Štúra Slovenskej akadémie vied
Keywords: Slovak language model; transformers; natural language processing

Summary/Abstract: We propose a Slovak language model for the spaCy library in Python. These models are easy-to-use for basic natural language processing tasks in a single package. The package contains several components for basic preprocessing tasks, such as tokenization, sentence boundary detection, syntactic parsing, lemmatization, named entity recognition, morphology analysis, and word vectors. It is based on the state-of-the-art monolingual SlovakBERT model. Named entity recognition is trained on a separate, publicly available WikiAnn database. The other statistical classifiers use a Slovak Dependency Treebank corpus. Morphological tags are compatible with the conventions of the Slovak National Corpus. The part of speech tags use conventions of the Universal Dependencies framework. We trained a separate word vector model on a web-based corpus. The training uses fastText with Floret modification. We present a series of experiments that confirm that the model performs similarly to other languages for all tasks. Training scripts and data are publicly available.

  • Issue Year: 74/2023
  • Issue No: 1
  • Page Range: 323-332
  • Page Count: 10
  • Language: English