๐ง๐ฎ A simple web app to help build the Ijwi ry'Ikirundi AI dataset. Translate Kirundi โก๏ธ French or French โก๏ธ Kirundi and add new sentences!
# ๐ง๐ฎ Ijwi ry'Ikirundi AI: Contribution Hub
**A web application for collecting Kirundi language contributions to help build AI language models**
## ๐ Overview
The **Ijwi ry'Ikirundi AI Contribution Hub** helps crowdsource Kirundi language data for AI model training. Community members can contribute translations and sentence pairs to preserve and advance the Kirundi language.
### ๐ฏ Easy Level: Kirundi to French Translation
- Translate existing Kirundi phrases to French
- **AI-powered suggestions**: Get machine translation suggestions to approve or edit
- **Smart workflow**: Approve suggestions with one click or edit manually
- Live data from Hugging Face dataset
- Progress tracking with localStorage
- Downloads as `Kirundi_To_French.csv`
- **Report/correct Kirundi phrases:** Users can flag and suggest corrections for Kirundi sentences
- Error and completion messages are always mutually exclusive (never both visible)
- All error messages default to English
### ๐ Medium Level: French to Kirundi Translation
- Translate French sentences to Kirundi
- Duplicate checking against existing database
- Downloads as `French_To_Kirundi.csv`
- Error and completion messages are always mutually exclusive
### โ๐พ Hard Level: Add New Sentences
- Create original Kirundi-French sentence pairs
- Input validation (both fields required, minimum 4 words recommended)
- Duplicate checking: prevents submission of Kirundi sentences already in the database
**All levels include:**
- ๐ **Dark mode toggle**: Switch between light and dark themes with smooth animations
- ๐ **Language toggle button** (FR/EN) for all instructions and feedback
- โจ๏ธ **Keyboard shortcuts** (Ctrl+Enter to submit, Escape to skip)
- ๐ฑ **Mobile-responsive design** with modern UI components
- ๐จ **Professional button designs** with gradients, shadows, and smooth transitions
- ๐พ **Auto-save progress** to prevent data loss
## ๐ Quick Start
### Option 1: Direct Use
1. Open `index.html` in your browser
2. Choos โฆ