cs.CLApr 2, 2026

Detecting Toxic Language: Ontology and BERT-based Approaches for Bulgarian Text

Authors: Melania Berbatova, Tsvetoslav Vasev

Organizations: Faculty of Mathematics and Informatics, Sofia University "St. Kliment Ohridski"

Abstract

Toxic content detection in online communication remains a significant challenge, with current solutions often inadvertently blocking valuable information, including medical terms and text related to minority groups. This paper presents a more nu-anced approach to identifying toxicity in Bulgarian text while preserving access to essential information. The research explores two distinct methodologies for detecting toxic content. The developed methodologies have po-tential applications across diverse online platforms and content moderation systems. First, we propose an ontology that models the potentially toxic words in Bulgarian language. Then, we compose a dataset that comprises 4,384 manually anno-tated sentences from Bulgarian online forums across four categories: toxic language, medical terminology, non-toxic lan-guage, and terms related to minority communities. We then train a BERT-based model for toxic language classification, which reaches a 0.89 F1 macro score. The trained model is directly applicable in a real environment and can be integrated as a com-ponent of toxic content detection systems.

Explore similar work

CardsList
  1. ToxiTrace: Gradient-Aligned Training for Explainable Chinese Toxicity Detection

    Apr 14, 2026Boyang Li, Hongzhe Shou, Yuanyuan Liang +2Toxicity DetectionExplainable Text Classification

  2. Breaking the Cloak! Unveiling Chinese Cloaked Toxicity with Homophone Graph and Toxic Lexicon

    May 28, 2025Xuchen Ma, Jianxiang Yu, Wenming Shao +2Toxicity DetectionHate Speech Detection

  3. ToxSyn-PT: A Synthetic Fine-Grained Dataset of Minority-Targeted Toxic Language in Portuguese

    Jun 11, 2025Iago Alves Brito, Julia Soares Dollis, Fernanda Bufon Farber +2Synthetic Data GenerationHate Speech Detection