article · East African Journal of Information Technology
Scam messages transmitted via SMS and digital platforms present significant cybersecurity threats, particularly in regions where mobile money services are widely used. In Tanzania, where Kiswahili is the dominant language of communication, existing scam detection systems—primarily designed for English—fail to capture the linguistic and contextual nuances of Kiswahili messages. This study presents a machine learning-based approach for detecting scam messages written in Kiswahili using Natural Language Processing (NLP) techniques. A labelled dataset of 5,000 real-world messages was compiled through public sources, user contributions, and collaboration with law enforcement. Four models—Support Vector Machine (SVM), Random Forest (RF), Bidirectional Long Short-Term Memory (Bi-LSTM), and Swahili-BERT—were developed and evaluated using accuracy, precision, recall, and F1-score. Swahili-BERT outperformed all other models, achieving a detection accuracy of 96.3%, demonstrating the efficacy of transformer-based models in low-resource language settings. The system was deployed through a Flask-based API for real-time use on mobile platforms. This research advances Kiswahili NLP, strengthens digital security infrastructure in Tanzania, and offers a scalable solution to combat SMS-based fraud in mobile money ecosystems
This page summarises published work. The authoritative version sits with the publisher.
DOI: 10.37284/eajit.8.2.4127
Is something wrong with this record? Report it or request removal.
Discussion
Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.
No discussion yet. Open the first thread.
New to MARATTO™? Create a free account.