# Offensive Language and Hate Speech Detection for Danish

Source: [Offensive Language and Hate Speech Detection for Danish](<https://www.sota2.com/research/paper/68fa6ecd1e209131cea42427>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-01-04T03:09:24.072Z

Authors: Gudbjartur Ingi Sigurbergsson, Leon Derczynski

Published: 2019-08-13T08:29:48.000Z

## Abstract

The presence of offensive language on social media platforms and the implications this poses is becoming a major concern in modern society. Given the enormous amount of content created every day, automatic methods are required to detect and deal with this type of content. Until now, most of the research has focused on solving the problem for the English language, while the problem is multilingual.   We construct a Danish dataset containing user-generated comments from \\textit{Reddit} and \\textit{Facebook}. It contains user generated comments from various social media platforms, and to our knowledge, it is the first of its kind. Our dataset is annotated to capture various types and target of offensive language. We develop four automatic classification systems, each designed to work for both the English and the Danish language. In the detection of offensive language in English, the best performing system achieves a macro averaged F1-score of $0.74$, and the best performing system for Danish achieves a macro averaged F1-score of $0.70$. In the detection of whether or not an offensive post is targeted, the best performing system for English achieves a macro averaged F1-score of $0.62$, while the best performing system for Danish achieves a macro averaged F1-score of $0.73$. Finally, in the detection of the target type in a targeted offensive post, the best performing system for English achieves a macro averaged F1-score of $0.56$, and the best performing system for Danish achieves a macro averaged F1-score of $0.63$.   Our work for both the English and the Danish language captures the type and targets of offensive language, and present automatic methods for detecting different kinds of offensive language such as hate speech and cyberbullying.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Offensive Language Identification on OffensEval Danish (test)](<https://www.sota2.com/research/sota/offensive-language-identification-on-offenseval-danish-test.md>): Offensive Language Identification; OffensEval Danish (test); Macro F1: 0.729.

- [Offensive language identification on OLID English Sub-task A 1.0 (test)](<https://www.sota2.com/research/sota/offensive-language-identification-on-olid-english-sub-task-a-1-0-test.md>): Offensive Language Identification; OLID English Sub-task A 1.0 (test); Macro F1: 0.735.

- [Categorization of offensive language type on OLID English Sub-task B](<https://www.sota2.com/research/sota/categorization-of-offensive-language-type-on-olid-english-sub-task-b.md>): Categorization of offensive language type; OLID English Sub-task B; Macro F1: 0.619.

- [Offensive language target identification on OLID English 2019 (test)](<https://www.sota2.com/research/sota/offensive-language-target-identification-on-olid-english-2019-test.md>): Offensive language target identification; OLID English 2019 (test); Macro F1: 55.7.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/1908.04531>)

[PDF](<https://arxiv.org/pdf/1908.04531.pdf>)
