Skip to main content
QUICK REVIEW

[Paper Review] Contextual Lexicon-Based Approach for Hate Speech and Offensive Language Detection.

Francielle Vargas, Fabiana Rodrigues de Góes|arXiv (Cornell University)|Apr 25, 2021
Hate Speech and Cyberbullying DetectionComputer Science32 references6 citations
TL;DR

This paper proposes a contextual lexicon-based approach for detecting hate speech and offensive language in Brazilian Portuguese, leveraging a manually annotated lexicon of offensive expressions classified as context-dependent or context-independent. The method achieves state-of-the-art performance on Portuguese datasets, outperforming existing baselines in both offensive language and hate speech detection tasks.

ABSTRACT

This paper provides a new approach for offensive language and hate speech detection on social media. Our approach incorporates an offensive lexicon composed of implicit and explicit offensive and swearing expressions annotated with binary classes: context-dependent and context-independent offensive. Due to the severity of the hate speech and offensive comments in Brazil, and the lack of research in Portuguese, Brazilian Portuguese is the language used to validate the proposed method. Nevertheless, our proposal may be applied to any other language or domain. Based on the obtained results, the proposed approach showed high-performance overcoming the current baselines for European and Brazilian Portuguese.

Motivation & Objective

  • Address the growing problem of hate speech and offensive content in Brazilian social media, where research in Portuguese remains limited.
  • Develop a lexicon-based detection system tailored for Brazilian Portuguese, a low-resource language in this domain.
  • Improve detection performance by distinguishing between context-dependent and context-independent offensive expressions.
  • Create a reusable framework applicable to other languages and domains beyond Portuguese.

Proposed method

  • Construct a custom offensive lexicon containing both explicit and implicit offensive expressions in Brazilian Portuguese.
  • Annotate each lexicon entry with two binary labels: context-dependent or context-independent offensive.
  • Integrate the lexicon into a contextual classification model that evaluates word-level offensive potential within sentence context.
  • Use the contextual embedding of words in a sentence to determine whether an offensive term is likely to be offensive in that specific context.
  • Train and evaluate the model on real-world social media data in Brazilian Portuguese.
  • Adapt the approach to other languages by reapplying the lexicon construction and annotation pipeline.

Experimental results

Research questions

  • RQ1Can a context-aware lexicon-based approach improve offensive language detection performance in Brazilian Portuguese compared to existing methods?
  • RQ2How effective is the distinction between context-dependent and context-independent offensive expressions in enhancing detection accuracy?
  • RQ3To what extent can this approach generalize to other languages or domains beyond Brazilian Portuguese?
  • RQ4Does incorporating contextual information significantly improve the detection of implicit offensive language?

Key findings

  • The proposed approach achieved state-of-the-art performance on offensive language and hate speech detection tasks in Brazilian Portuguese.
  • The model outperformed existing baselines, demonstrating higher F1-scores and precision in both explicit and implicit offensive language detection.
  • The distinction between context-dependent and context-independent offensive expressions contributed to improved detection accuracy.
  • The method showed strong generalization potential, suggesting applicability to other languages with similar lexicon-based adaptation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.