Use of Bi-LSTM for Emotion Detection via Text Messaging in the Latin American Context

Autores/as

  • Alejandro José Junior Cruz Mocarro Universidad Peruana de Ciencias Aplicadas - (PE), Perú
  • Rubén Oscar Cerda García Universidad Peruana de Ciencias Aplicadas - (PE), Perú
  • Brayan Smith Pariona Castillo Universidad Peruana de Ciencias Aplicadas - (PE), Perú

DOI:

https://doi.org/10.18687/LACCEI2026.1.1.273

Palabras clave:

Natural Lenguage Processing, Digital mental health, Usability, Latin American Spanish, System Usability Scale.

Resumen

Emotional violence in digital environments poses a growing risk in Latin American contexts, where verbal expressions vary significantly by region. This study presents an emotion-detection model based on a Bidirectional Long Short-Term Memory (Bi-LSTM) network, trained specifically on messages collected from Twitter using web-scraping techniques. Unlike prior approaches, the model does not rely on surveys or corpora structured in neutral Spanish; instead, it draws on real, everyday language with contextual emotional content. The methodological pipeline spans from data collection and cleaning to the binary classification of violent versus nonviolent messages. The model achieved an accuracy close to nine out of ten correct predictions in identifying violent messages, with recall similarly high for both classes and an F1 score near 0.9. In addition, the model exhibited semantic capabilities to interpret ambiguous phrases, local expressions, and neutral messages, reducing false positives.

Descargas

Publicado

2026-07-27

Número

Sección

Articles

Licencia

Licencia Creative Commons

Esta obra está bajo una Licencia Creative Commons Atribución-NoComercial-CompartirIgual 4.0 Internacional.

LACCEI conserva el copyright de todos los artículos publicados bajo los términos de su acuerdo de transferencia de copyright. Como titular del copyright, LACCEI distribuye los artículos al público bajo la Licencia Internacional Creative Commons Atribución-NoComercial-CompartirIgual 4.0 (CC BY-NC-SA 4.0).

Cómo citar

Cruz Mocarro, A. J. J., Cerda García, R. O., & Pariona Castillo, B. S. (2026). Use of Bi-LSTM for Emotion Detection via Text Messaging in the Latin American Context. LACCEI, 1(14). https://doi.org/10.18687/LACCEI2026.1.1.273

Artículos más leídos del mismo autor/a