Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Machine Learning-based Approach for Scam Message Detection in Kiswahili Using Natural Language

Domain:

natural language processingdigital infrastructure

Record type:

paperdatasetmodel
Creator:
BlaOth
Publisher:
Eas
Host:
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

Visit

doi.org

Tasks

text classification

Languages

SwahiliSwahili, CoastalSwahili, Congo

Licenses

http://creativecommons.org/licenses/by/4.0

Similar

AUTOMATED DETECTION OF SWAHILI SCAM MESSAGES IN TANZANIA USING NATURAL LANGUAGE PROCESSING AND MACHINE LEARNING MODELSVector Representation of Amharic Idioms for Natural Language Processing Applications Using Machine Learning ApproachA machine learning and natural language processing-based smishing detection model for mobile money transactionsWord Sense Disambiguation for Wolaita Language Using Machine Learning ApproachAmharic Language Hate Speech Detection Using Machine LearningGenome Based phenotype Identification Model For Chickpea using Machine Learning Approach

AUTOMATED DETECTION OF SWAHILI SCAM MESSAGES IN TANZANIA USING NATURAL LANGUAGE PROCESSING AND MACHINE LEARNING MODELS

In recent years, cybersecurity threats have become increasingly pr

Vector Representation of Amharic Idioms for Natural Language Processing Applications Using Machine Learning Approach

A machine learning and natural language processing-based smishing detection model for mobile money transactions

As mobile services proliferate to include financial transactions, the threat of phishing attacks tar

Word Sense Disambiguation for Wolaita Language Using Machine Learning Approach

Amharic Language Hate Speech Detection Using Machine Learning

Genome Based phenotype Identification Model For Chickpea using Machine Learning Approach

Ethiopia is the leading producer, consumer, and seller of chickpea in Africa and one of the
top