Multilingual transformer and BERTopic for short text topic modeling: The case of Serbian

Darija Medvecki, Bojana Bašaragin, Adela Ljajić, Nikola Milošević
2/5/2024
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

This paper presents the results of the first application of BERTopic, a state-of-the-art topic modeling technique, to short text written in a morphologi-cally rich language. We applied BERTopic with three multilingual embed-ding models on two levels of text preprocessing (partial and full) to evalu-ate its performance on partially preprocessed short text in Serbian. We also compared it to LDA and NMF on fully preprocessed text. The experiments were conducted on a dataset of tweets expressing hesitancy toward COVID-19 vaccination. Our results show that with adequate parameter setting, BERTopic can yield informative topics even when applied to partially pre-processed short text. When the same parameters are applied in both prepro-cessing scenarios, the performance drop on partially preprocessed text is minimal. Compared to LDA and NMF, judging by the keywords, BERTopic offers more informative topics and gives novel insights when the number of topics is not limited. The findings of this paper can be significant for re-searchers working with other morphologically rich low-resource languages and short text.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{medvecki2024multilingual,
  title  = {Multilingual transformer and BERTopic for short text topic modeling: The case of Serbian},
  author = {Darija Medvecki and Bojana Bašaragin and Adela Ljajić and Nikola Milošević},
  year   = {2024},
  eprint = {2402.03067},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.03067v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.03067.svg)](https://codeofpaper.com/paper/2402.03067)

Discussion