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.

meyladj/algerian-multilingual-nlp-sentiment

Domaine:

natural language processing

Type de record:

softwareproject
Créateur:
mey
HĂ´te:
# 🇩🇿 Algerian Multilingual NLP Sentiment Analyzer A specialized Machine Learning Natural Language Processing pipeline designed to classify sentiments in complex multilingual contexts prevalent in Algeria and North Africa. --- ## 💡 Overview In Algeria, social conversations and community feedback naturally fluidly combine **Standard Arabic**, **Algerian Darija (both Arabic script and Latin Arabizi with digits 3, 7, 9, 5)**, **French**, and **English**. Standard off-the-shelf sentiment models struggle heavily with this code-switching reality. This project implements: 1. **Multilingual Code-Switching Normalizer**: Removes diacritics, normalizes Arabic variants, handles Arabizi phonetics and character repetitions. 2. **Subword & N-Gram TF-IDF Vectorization**: Preserves character-level dialect markers and morphological roots. 3. **Calibrated Logistic / Softmax Classification**: Produces probability distributions across Positive, Neutral, and Negative classes. --- ## ⚡ Quick Start ### 1. Installation ```bash git clone github.com /algerian-multilingual-nlp-sentiment.git cd algerian-multilingual-nlp-sentiment pip install -r requirements.txt ``` ### 2. Interactive CLI Mode ```bash python app.py ``` ### 3. Example Code Usage ```python from sentiment_classifier import AlgerianSentimentAnalyzer analyzer = AlgerianSentimentAnalyzer() analyzer.train() result = analyzer.predict("raw3a had l'projet, foooort bzaf!") print(result['predicted_sentiment']) # Output: positive print(result['confidence']) # Output: 0.94 ``` ### 4. Batch Prediction ```bash python app.py --batch sample_inputs.txt --out predictions.json ``` --- ## 📊 Pipeline Architecture ``` [Raw User Text (Arabic / Darija / Arabizi / FR / EN)] ↓ [Multilingual Normalization & Arabizi Handler] ↓ [Character & Word N-Gram TF-IDF] ↓ [Calibrated Multiclass Logistic Classifier] ↓ { Sentiment: "Positive", Confidence: 0.94 } ``` --- ## 📄 License MIT License - Developed with pride by an Algeria …

Visit

github.com

Tasks

sentiment analysiscode switchingtext classification

Languages

Arabic, Algerian Spoken

Similaires

abush26/Sentiment-Analysis-NLPleev75/volz-nlp-sentiment-analysisumarlamiya/Multilingual-nigeria-nlpMultilingual-NLP/M-ABSAMrrobot-rx/algerian-sentimentYouTube Tourism Sentiment (multilingual)

abush26/Sentiment-Analysis-NLP

A Python tool for Amharic text sentiment analysis with fine-tuned and translation-based approaches,

leev75/volz-nlp-sentiment-analysis

NLP pipeline for sentiment analysis of 527 Google Play reviews — Volz flight-booking app (Algeria).

umarlamiya/Multilingual-nigeria-nlp

# Multilingual-nigeria-nlp

Multilingual-NLP/M-ABSA

This repo contains the data for our paper M-ABSA: A Multilingual Dataset for Aspect-Based Sentiment

Mrrobot-rx/algerian-sentiment

NLP model for Algerian Arabic sentiment analysis using Transformers # 🚀 algerian-sentiment **NLP m

YouTube Tourism Sentiment (multilingual)

YouTube comments from tourism-related videos across Africa, Latin America, and Turkey, cleaned and p