Logo Lanfrica

arseneishimwe11/KinyaTutor

Domain:

natural language processingeducation

Record type:

software
Creator:
ars
Host:
πŸ—£οΈ KinyaTutor is a voice-powered Kinyarwanda learning assistant that lets users speak, listen, and interact with AI in kinyarwanda language using speech recognition, NLP, and text-to-speech. # πŸ‡·πŸ‡Ό KinyaTutor: Kinyarwanda Voice Assistant KinyaTutor is an interactive voice assistant that helps users learn and practice Kinyarwanda. It simulates how intelligent robots can communicate in local languages, empowering them to assist Rwandan communities. ## πŸ“± Application Interface *The KinyaTutor interface showing the voice recording feature and interactive question-answer system.* ## ✨ Features - **Speech Recognition (ASR)**: Transcribes Kinyarwanda speech to text using KinyaWhisper - **Natural Language Processing (NLP)**: Matches questions to appropriate answers - **Text-to-Speech (TTS)**: Speaks answers back in Kinyarwanda - **Interactive UI**: Quiz mode and conversational mode - **Audio Visualization**: Visual feedback for audio processing ## πŸ“‚ Project Structure ``` KinyaTutor/ β”œβ”€β”€ Backend/ # FastAPI backend β”‚ β”œβ”€β”€ app/ β”‚ β”‚ β”œβ”€β”€ main.py # Main API endpoints β”‚ β”‚ └── utils.py # Utility functions β”‚ β”œβ”€β”€ reference_audio.wav # Reference audio for TTS β”‚ └── requirements.txt # Python dependencies β”œβ”€β”€ Frontend/ # Next.js frontend β”‚ β”œβ”€β”€ components/ # React components β”‚ β”œβ”€β”€ lib/ # Utility functions and API client β”‚ β”œβ”€β”€ pages/ # Next.js pages β”‚ β”œβ”€β”€ public/ # Static assets β”‚ └── styles/ # CSS styles └── README.md # Project documentation ``` ## βš™οΈ Technologies Used - **Backend**: - FastAPI: Modern, fast web framework for building APIs - KinyaWhisper: ASR model fine-tuned for Kinyarwanda - Coqui TTS: Text-to-speech synthesis - Difflib: For fuzzy matching questions - **Frontend**: - Next.js: React framework for production - Tailwind CSS: Utility-first CSS framework - Web Speech API: For browser-based speech recognition - Web Audio API: For audio visualization ## πŸš€ Setup and Installation ### Backend 1. Clone the repository: ```bash git clone github.com cd KinyaTutor/Backend ` …