Application d'un système de traduction de l'amazigh vers arabe et français
# AwalTraduction
Plateforme intelligente de traduction automatique Tamazight (Tifinagh) vers Arabe et Francais, developpee dans le cadre d'un projet academique avec la SNRT.
## Architecture
```
Frontend (React + Tailwind CSS + Framer Motion)
|
API REST (Flask)
|
Modele NLLB fine-tune (Tifinagh -> Arabe)
|
Modele NLLB original (Arabe -> Francais)
```
### Pipeline de traduction
- **Vers l'Arabe** : Tifinagh -> Modele fine-tune -> Arabe
- **Vers le Francais** : Tifinagh -> Modele fine-tune -> Arabe -> NLLB original -> Francais
## Structure du projet
```
AwalTraduction/
├── backend/
│ ├── app.py # Serveur Flask + logique de traduction
│ ├── requirements.txt # Dependances Python
│ └── static/
│ └── snrt_logo.png
├── frontend/
│ ├── package.json
│ ├── vite.config.js
│ ├── tailwind.config.js
│ ├── postcss.config.js
│ ├── index.html
│ ├── public/
│ │ └── snrt_logo.png
│ └── src/
│ ├── main.jsx
│ ├── App.jsx
│ ├── index.css
│ ├── components/
│ │ ├── Header.jsx # En-tete avec navigation
│ │ ├── Footer.jsx # Pied de page
│ │ ├── LoadingDots.jsx # Animation de chargement
│ │ ├── ConfidenceBar.jsx # Barre de confiance
│ │ └── FeedbackSection.jsx # Section avis utilisateur
│ ├── pages/
│ │ ├── Home.jsx # Page d'accueil (traduction)
│ │ ├── Instructions.jsx # Page instructions
│ │ └── About.jsx # Page a propos
│ └── context/
│ ├── ThemeContext.jsx # Gestion mode clair/sombre
│ └── LanguageContext.jsx # Gestion FR/AR
├── .env.example
├── .gitignore
└── README.md
```
## Installation et execution
### Prerequis
- Python 3.9+
- Node.js 18+
- npm
### 1. Cloner le depot
```bash
git clone
github.com
cd AwalTraduction
```
### 2. Configurer le token Hugging Face
```bash
cp .env.example .env
# Editer .env et ajouter votre token HF_TOKEN
```
### …