Logo Lanfrica

jamalinu/amazigh-nlp-spacy

Domain:

natural language processing

Record type:

softwaremodel
Creator:
jam
Host:
# 🌍 Amazigh/Berber NLP Pipeline with spaCy > First open-source NLP pipeline for Tamazight (Amazigh/Berber language) > built by a native speaker with formal linguistics training. ## 🎯 Why this project matters Tamazight is spoken by **30+ million people** across North Africa, yet has virtually zero computational linguistics resources. This project addresses that gap by combining: - Native speaker linguistic knowledge (Tamazight, Arabic, Spanish, French, Catalan) - Formal philology and linguistics training - Modern NLP tools (spaCy, scikit-learn, Python) --- ## πŸš€ Live Demo **πŸ‘‰ Try it here β€” amazigh-nlp-demo on Hugging Face** The demo includes three tools running live: | Tool | Description | |------|-------------| | πŸ”Ž Named Entity Recognizer | Detects people (PER) and locations (LOC) | | 🎭 Sentiment Analyzer | Classifies comments as Positive / Negative / Neutral with confidence % | | πŸ”οΈ Tarifit Morphology Analyzer | POS tagging, clitic tokenization and morpheme segmentation | | πŸŽ™οΈ TTS Text Normalizer | Converts informal Tarifit (Chat-Arabic numerals, digraphs) to phonetic symbols | --- ## πŸ”¬ Project Modules | # | Module | Description | Status | |---|--------|-------------|--------| | 01 | Tokenizer | Custom Tamazight tokenizer with clitic handling | βœ… Done | | 02 | NER Data Prep | DocBin annotation pipeline | βœ… Done | | 03 | NER Training | Supervised NER model (100% F1) | βœ… Done | | 04 | Sentiment Analysis | Positive / Negative / Neutral classifier | βœ… Done | | 05 | TTS Corpus | Phonetically Balanced Corpus for Tarifit TTS | βœ… Done | | 06 | Morphology | Full morphological pipeline for Tarifit | βœ… Done | | 07 | TTS Frontend | Linguistic text normalization for Tarifit TTS | βœ… Done | | 08 | Corpus | Annotated sentences dataset | πŸ”„ In progress | --- ## πŸ““ Notebooks ### 01. Custom NLP Pipeline for Low-Resource Languages Builds a spaCy tokenizer from scratch for Tamazight. Handles clitic segmentation and Tifinagh character normalization. --- ### 02. NER Data Prep …