Use of Bi-LSTM for Emotion Detection via Text Messaging in the Latin American Context
DOI:
https://doi.org/10.18687/LACCEI2026.1.1.273Keywords:
Natural Lenguage Processing, Digital mental health, Usability, Latin American Spanish, System Usability Scale.Abstract
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.Downloads
Published
2026-07-27
Issue
Section
Articles
Copyright
Copyright (c) 2026 LACCEI
License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
LACCEI retains copyright of all published articles under the terms of its copyright transfer agreement. As the copyright holder, LACCEI distributes the articles to the public under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).
How to Cite
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