Logo Lanfrica

FADHILI-Josue/Talk2AI-kinyarwanda

Domain:

natural language processing

Record type:

software
Creator:
FAD
Host:
# Kinyarwanda Voice Assistant πŸ€– An intelligent voice assistant that supports natural conversation in Kinyarwanda, built using speech recognition, fuzzy NLP matching, and text-to-speech. Created for the Intelligent Robotics course. ## πŸ”‘ Key Features - πŸŽ™οΈ Speech-to-text using **KinyaWhisper** - 🧠 Context-aware response generation via **fuzzy logic** - πŸ“’ Kinyarwanda **text-to-speech** - πŸ”‡ Advanced **noise reduction** - πŸ—£οΈ Voice Activity Detection (VAD) - πŸ“Š Conversation analytics and web interface via **Gradio** ## πŸ› οΈ Tech Stack - **AI & NLP**: Hugging Face, FuzzyWuzzy, Python-Levenshtein - **Audio**: Librosa, Soundfile, WebRTC VAD - **Interface**: Gradio - **Optimization**: Noisereduce, FFmpeg ## πŸš€ Quick Start ```bash git clone github.com cd Talk2AI-kinyarwanda python -m venv .venv source .venv/bin/activate # or .\.venv\Scripts\activate on Windows pip install -r requirements.txt copy .env.example .env # add you token from hugging face python main.py ``` Then open localhost ## βš™οΈ Configuration - Customize questions/responses in `nlp_mapping.json` - Sample recordings in `/sample_inputs` (supports WAV) ## πŸ’‘ Interface Usage - Record/upload audio - Click **Submit** - Listen to the reply & view history (transcription, matched Q&A) ## πŸ“‹ Example | Input | Matched Q | Response | |----------------|------------------|--------------------------------------------| | muraho | muraho? | Muraho! Ndi hano kugufasha. Ni iki wakwifuza kumenya? | | wakozwe na nde | wakozwe na nde? | Nakozwe na Fadhili Josue mukigo cya Rwanda Coding academy. |