Logo Lanfrica

KHALIDMRJ/Darija-Sentiment-Analysis

Domain:

natural language processing

Record type:

softwaremodel
Creator:
KHA
Host:
πŸ‡²πŸ‡¦ Darija Sentiment Analysis ΨͺΨ­Ω„ΩŠΩ„ Ψ§Ω„Ω…Ψ΄Ψ§ΨΉΨ± Ψ¨Ψ§Ω„Ψ―Ψ§Ψ±Ψ¬Ψ© Ψ§Ω„Ω…ΨΊΨ±Ψ¨ΩŠΨ© First open-source, end-to-end NLP pipeline for Moroccan Arabic (Darija) From raw web scraping β†’ preprocessing β†’ model training β†’ live inference > *"40 million people speak Darija. Until now, AI couldn't understand a single word of their sentiment."* --- ## πŸ“Œ Table of Contents - The Problem - What We Built - Live Demo - Dataset - Data Analysis - System Architecture - Preprocessing Pipeline - Models & Results - Project Structure - Quick Start - Research Findings - Roadmap - Academic Context --- ## 🚨 The Problem No One Solved **Moroccan Arabic (Darija)** is spoken by over **40 million people** daily. It is a living, evolving language β€” a unique fusion of: - πŸ”€ **Classical Arabic** β€” grammatical backbone - πŸ‡«πŸ‡· **French** β€” embedded in everyday speech - πŸ”οΈ **Tamazight (Berber)** β€” indigenous vocabulary - πŸ‡ͺπŸ‡Έ **Spanish** β€” in northern regions Despite this scale, **Darija is one of the most NLP-neglected dialects in the world.** | Challenge | Impact | |---|---| | No standard spelling | Same word = 5+ forms | | Mixed scripts | Arabic + Latin + digits | | No labeled datasets | Training impossible | | No preprocessing tools | Zero libraries exist | | Dialectal variation | Region-to-region differences | **The consequence:** Moroccan companies, researchers, and public institutions cannot perform automated sentiment analysis on the content their users generate every day β€” social media, reviews, news comments, customer feedback. **This project is the first complete answer to that problem.** --- ## 🎯 What We Built An **end-to-end NLP pipeline** covering every stage from raw data to live inference: ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ FULL PROJECT PIPELINE β”‚ β”‚ β”‚ β”‚ 🌐 Web Scraping β†’ 🧹 Preprocessing β†’ 🏷️ Labelin …