Artificial intelligence applied in the detection of hate speech in the social political context in early 2023 in Peru

Authors

  • Luz Elena Torres Talaverano Universidad Nacional Mayor de San Marcos, Facultad de Ingeniería de Sistemas e Informática. Lima, Perú https://orcid.org/0000-0001-6465-0430
  • Paula Elianne Rojas Villanueva Universidad Nacional Mayor de San Marcos, Facultad de Ingeniería de Sistemas e Informática. Lima, Perú https://orcid.org/0009-0006-8554-5406
  • Lucero Marysol Huamán Ampuero Universidad Nacional Mayor de San Marcos, Facultad de Ingeniería de Sistemas e Informática. Lima, Perú https://orcid.org/0009-0005-6092-1607
  • Ciro Rodriguez Rodriguez Universidad Nacional Mayor de San Marcos, Facultad de Ingeniería de Sistemas e Informática. Lima, Perú https://orcid.org/0000-0003-2112-1349
  • Ivan Carlo Petrlik Azabache Universidad Nacional Mayor de San Marcos, Facultad de Ingeniería de Sistemas e Informática. Lima, Perú https://orcid.org/0000-0002-1201-2143

DOI:

https://doi.org/10.15381/risi.v16i1.25061

Keywords:

Artificial intelligence, Hate speech, Machine learning, Twitter

Abstract

The rapid spread of hate speech through social networks to a large number of people has generated destabilization in a social and economic context at the beginning of the year 2023. The purpose of the research is to detect hate speech through Artificial Intelligence with Machine Learning techniques in a social political context. In addition, the research is of an applied type in which an exploratory search was carried out and the population is comprised of 1,970 tweets in the central and southern regions of Peru. The sampling is probabilistic, and 1,970 tweets from the regions involved were reviewed and manually labeled. Likewise, the methodology applied was SEMMA, as it allows to ensure that the models are accurate and fit the data of this study. A comparison of the respective models was performed to achieve an optimal result, of which the main indicator was the average accuracy in which the Multinomial Naive Bayes model was the best model with a score of 73.87%. Finally, it is concluded that this study allows accelerating the process of detecting verbal hate speech in social networks for the analysis of public opinion and the detection of suspected hate inciters.

Downloads

Download data is not yet available.

Downloads

Published

2023-08-21

Issue

Section

Original Research Articles

How to Cite

[1]
“Artificial intelligence applied in the detection of hate speech in the social political context in early 2023 in Peru”, Rev.Investig.sist.inform., vol. 16, no. 1, pp. 5–20, Aug. 2023, doi: 10.15381/risi.v16i1.25061.