Logo Lanfrica

RoTiGe/EastAfricanLanguages

Domain:

natural language processing

Record type:

softwaretools
Creator:
RoT
Host:
Translator for East African Languages # East African Languages Sound Training App A comprehensive web-based application for Text-to-Speech and language learning, featuring multiple East African and European languages with extensive translation support. ## Features - **Extensive Language Support (25 Languages)**: - **European Languages**: English, Spanish, French, German, Italian - **East Asian Languages**: Chinese, Korean - **South Asian Languages**: Hindi, Bengali, Telugu - **Middle Eastern Languages**: Arabic, Farsi, Kurdish - **East African Languages**: Amharic, Tigrinya, Oromo, Somali, Swahili, Kinyarwanda, Kirundi, Luganda, Luo, Dinka, Nuer - **African Language Families**: Bantu languages - **Comprehensive Translations**: 286+ phrases across 34 categories - **Multiple Translation Formats**: Both `.js` and `.json` formats supported - **Dual TTS Engines**: - Google TTS (gTTS): Multiple language support - pyttsx3 (Windows SAPI): Local voice synthesis - **Web Interface**: Built with Express + EJS - **Real-time Generation**: Generate speech on-demand - **Categorized Content**: Organized by topics (family, food, animals, etc.) ## Tech Stack - **Backend**: Node.js + Express - **Template Engine**: EJS - **TTS Engines**: Python + Google TTS (gTTS) + pyttsx3 - **Frontend**: Vanilla JavaScript ## Installation ### 1. Install Node.js Dependencies ```bash npm install ``` ### 2. Python Dependencies (Already Installed) Python packages are already installed via conda: - gtts (Google Text-to-Speech) - pyttsx3 (For Oromo language support) - flask - flask-cors - pywin32 (Required for pyttsx3 on Windows) ## Running the Application ### Step 1: Start the Python TTS Service In one terminal: ```bash c:/Users/Robel/Documents/Projects/Sound_Training/.conda/python.exe tts_service.py ``` This will start the TTS service on `localhost` ### Step 2: Start the Express Server In another terminal: ```bash npm start ``` Or for development with auto-reload: ```bash npm run dev ``` This will start the we …