The widespread of offensive content online, such as hate speech and cyber-bullying, is a global phenomenon. This has sparked interest in the artificial intelligence (AI) and natural language processing (NLP) communities, motivating the development of various systems trained to detect potentially harmful content automatically. These systems require annotated datasets to train the machine learning (ML) models. However, with a few notable exceptions, most datasets on this topic have dealt with English and a few other high-resource languages. As a result, the research in offensive language identification has been limited to these languages. This paper addresses this gap by tackling offensive language identification in Sinhala, a low-resource Indo-Aryan language spoken by over 17 million people in Sri Lanka. We introduce the Sinhala Offensive Language Dataset (SOLD) and present multiple experiments on this dataset. SOLD is a manually annotated dataset containing 10,000 posts from Twitter annotated as offensive and not offensive at both sentence-level and token-level, improving the explainability of the ML models. SOLD is the first large publicly available offensive language dataset compiled for Sinhala. We also introduce SemiSOLD, a larger dataset containing more than 145,000 Sinhala tweets, annotated following a semi-supervised approach.
翻译:恶意言论和网络欺凌等攻击性在线内容的普及是一个全球现象,它引起了人们对人工智能(AI)和自然语言处理(NLP)社区的兴趣,鼓励开发各种系统,对潜在有害内容进行自动检测。这些系统需要附加说明的数据集来培训机器学习模式(ML),但除少数明显例外外,大多数关于这个主题的数据集都涉及英语和其他一些高资源语言。因此,攻击性语言识别研究仅限于这些语言。本文通过解决Sinhala这一斯里兰卡1700多万人所讲的低资源Indo-Aryan语言的冒犯性语言识别来弥补这一差距。我们引入了Sinhala攻击性语言数据集(SOLD),并在该数据集上提出多项实验。SOLD是一个人工附加说明的数据集,包含推特上附加攻击性的10 000个员额,在句级和象征性级别上都没有冒犯性。SOLD是第一个为Sinhala编写的公开公开攻击性语言识别数据集。Sinhala(Sinhala)是第一个为Sinhala汇编的大型数据集,我们还引入了比SEM-LD更大规模的数据。