Logo Lanfrica

alexbahati2-lab/somali_translator_poc

Domain:

natural language processing

Record type:

software
Creator:
ale
Host:
point of concept: To translate Somali language into English text scripts. πŸŽ™οΈ Somali Audio β†’ English Text Translator (Proof of Concept) πŸ“˜ Overview This Flutter Proof of Concept (PoC) demonstrates a mobile application that can record Somali speech, convert it to text, and translate it into English in real time. The goal is to prove that accurate Somali-to-English translation can be achieved through a combination of speech recognition and machine translation APIs. 🎯 Objective To validate that: A user can record Somali audio using the app. The recorded audio can be converted to Somali text using a Speech-to-Text model (like OpenAI Whisper or Google Speech API). The Somali text can be accurately translated into English text. The output (Somali + English text) can be displayed in a simple Flutter interface. 🧩 Features 🎀 Record Somali speech 🧠 Transcribe Somali audio to text 🌍 Translate Somali text to English πŸ’¬ Display both Somali and English text βš™οΈ Simple, minimal UI (for demonstration purposes) βš™οΈ Tech Stack Component Technology Frontend Flutter Language Recognition OpenAI Whisper API or Google Speech-to-Text Translation Google Translate API or OpenAI GPT API Backend (optional) Flask / Django REST (for API integration) Database Not required for PoC (in-memory only) 🧠 System Architecture πŸŽ™οΈ User speaks Somali ↓ Flutter records audio ↓ Audio sent to Speech Recognition API ↓ Somali text returned ↓ Somali text sent to Translation API ↓ English text returned ↓ Flutter displays both texts πŸ—οΈ Project Structure somali_audio_translator_poc/ β”‚ β”œβ”€β”€ lib/ β”‚ β”œβ”€β”€ main.dart # Entry point β”‚ β”œβ”€β”€ screens/ β”‚ β”‚ β”œβ”€β”€ home_screen.dart # Mic + record button β”‚ β”‚ β”œβ”€β”€ result_screen.dart # Display Somali & English text β”‚ β”œβ”€β”€ services/ β”‚ β”‚ β”œβ”€β”€ speech_service.dart # Audio recording + transcription β”‚ β”‚ β”œβ”€β”€ translate_service.dart # Translation API logic β”‚ └── widgets/ β”‚ └── mic_button.dart # Reusable mic widget β”‚ β”œβ”€β”€ pubspec.yaml # Dependencies β”œβ”€β”€ README.md # Project documen …