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.

Swahili-System/ai-new-scraper

Domaine:

natural language processing

Type de record:

software
Créateur:
Swa
Hôte:
# Swahili News Dataset Creator This project creates a high-quality Swahili news dataset by scraping and processing articles from major Tanzanian news sources. ## 🎯 Features - Scrapes articles from multiple Tanzanian news sources - Cleans and preprocesses text - Removes duplicates and non-Swahili content - Outputs a clean JSONL dataset ready for fine-tuning ## 📋 Requirements - Python 3.8+ - Dependencies listed in `requirements.txt` ## 🚀 Setup 1. Create a virtual environment: ```bash python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate ``` 2. Install dependencies: ```bash pip install -r requirements.txt ``` 3. Run the scraper: ```bash python scraper.py ``` ## 📊 Dataset Structure The output dataset will be saved as `dataset/swahili_news.jsonl` with the following format: ```json {"text": "article text here"} ``` ## 🔍 Data Sources - Mwananchi (mwananchi.co.tz) - Habari Leo (habarileo.co.tz)

Visit

github.com

Languages

Swahili