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.
翻译:社交媒体平台上攻击性语言的存在及其带来的影响成为了现代社会的一大关注点。由于每天创建的内容数量巨大,因此需要自动化方法来检测和处理此类内容。目前,大多数研究都集中在解决英语的问题上,而问题是多语言的。本研究构建了一个包含来自Reddit和Facebook等不同社交媒体平台的用户生成的评论的丹麦语数据集。它包含不同社交媒体平台上的用户生成评论,据我们所知,这是第一个这样的数据集。我们对数据集进行了注释,以捕获各种类型和目标的攻击性语言。我们开发了四种自动分类系统,每种系统都适用于英语和丹麦语。在英语攻击性语言的检测中,最佳表现系统的宏平均F1分数为0.74,在丹麦语中,最佳表现系统的宏平均F1分数为0.70。在检测攻击性帖子是否针对性时,英语的最佳表现系统的宏平均F1分数为0.62,而丹麦语中最佳表现系统的宏平均F1分数为0.73。最后,在检测有针对性攻击性帖子的目标类型时,英语的最佳表现系统的宏平均F1分数为0.56,丹麦语的最佳表现系统的宏平均F1分数为0.63。我们对英语和丹麦语言言中的攻击性语言类型和目标进行了捕捉,并提出了自动检测不同类型攻击性语言(如仇恨言论和网络欺凌)的方法。