Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

JohnNkakuyia/Swahili-Language-News-Classification-

Domaine:

natural language processing

Type de record:

datasetproject
Créateur:
Joh
Hôte:
# Swahili-Language-News-Classification ## Project Overview ## Business Problem Swahili serves as a vital language for communication, education, and cultural expression in Tanzania and across East Africa. With the increasing dominance of English in online spaces, there's a risk of losing the representation of Swahili, especially in digital media such as news platforms. We strive to address this challenge by developing a multi-class classification model to automatically categorize Swahili news articles into specific categories. By doing so, online news platforms can enhance user experience by providing readers with easy access to news content relevant to their interests, while also contributing to the preservation and promotion of the Swahili language in the digital age. ## Objectives * To Develop a Multi-Class Classification Model that utilizes machine learning techniques to categorize Swahili News. * To Enhance User Experience by improving the accessibility of Swahili news content by enabling automated categorization on online news platforms. * To Promote Swahili Language by contributing to the representation and preservation of Swahili in digital media by ensuring its inclusion and visibility in online products and services. ## Data The data used is from Zindi Africa's platform and has 5151 Swahili articles and 3 features. ## Data Preparation During this process, we checked for null values, and the shape of the dataset, and investigated the distribution of the Swahili news categories. we find out that we have an imbalance distribution. | category | count | |-----------|-------| | Kitaifa | 2000 | | michezo | 1720 | | Biashara | 1360 | | Kimataifa | 54 | | Burudani | 17 | ## Exploratory Data Analysis we label-encoded the categories, corrected punctuations where necessary, tokenized our dataset, and created subplots for our tokens, after which we noted we could distinguish categories as displayed. ## Baseline Model We performed a baseli …

Visit

github.com

Tasks

news classificationtext classificationtopic classification

Languages

Swahili