荷兰社交媒体中基于词典的种族主义检测方法
A Dictionary-based Approach to Racism Detection in Dutch Social Media
摘要:
我们提出了一个基于字典的方法来检测荷兰社交媒体的评论,这是从两个公共比利时社交媒体网站可能会吸引种族主义的反应检索种族主义。这些评论被多个注释者标记为种族主义或非种族主义。对于我们的方法,创建了三个话语词典:首先,我们通过从训练数据中检索可能的种族主义和更中性的术语来创建词典,然后用更通用的词来增强这些词以消除一些偏见。第二个词典是通过使用在大型通用荷兰语文本语料库上训练的\texttt{word2vec}模型自动扩展创建的。最后,通过手动过滤不正确的扩展创建第三个字典。我们训练了多个支持向量机,使用字典中不同类别的单词分布作为特征。表现最好的模型使用手动清理的字典,并在由看不见的荷兰评论组成的测试集上获得了0.46的种族主义类的F分数,这些评论来自用于训练集的相同网站。字典的自动扩展仅略微提高了模型的性能,并且这种性能的提高在统计上并不显著。扩展词典的覆盖范围确实增加了,这表明自动添加的单词确实出现在语料库中,但无法对性能产生有意义的影响。词典、代码和请求语料库的过程可在以下网址获得:https://github.com/clips/hades
英文摘要:
We present a dictionary-based approach to racism detection in Dutch social media comments, which were retrieved from two public Belgian social media sites likely to attract racist reactions. These comments were labeled as racist or non-racist by multiple annotators. For our approach, three discourse dictionaries were created: first, we created a dictionary by retrieving possibly racist and more neutral terms from the training data, and then augmenting these with more general words to remove some bias. A second dictionary was created through automatic expansion using a \texttt{word2vec} model trained on a large corpus of general Dutch text. Finally, a third dictionary was created by manually filtering out incorrect expansions. We trained multiple Support Vector Machines, using the distribution of words over the different categories in the dictionaries as features. The best-performing model used the manually cleaned dictionary and obtained an F-score of 0.46 for the racist class on a test set consisting of unseen Dutch comments, retrieved from the same sites used for the training set. The automated expansion of the dictionary only slightly boosted the model's performance, and this increase in performance was not statistically significant. The fact that the coverage of the expanded dictionaries did increase indicates that the words that were automatically added did occur in the corpus, but were not able to meaningfully impact performance. The dictionaries, code, and the procedure for requesting the corpus are available at: https://github.com/clips/hades
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。