Logo Lanfrica

alexbahati2-lab/somali_translator_poc

Domaine:

natural language processing

Type de record:

software
Créateur:
ale
Hôte:
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 …