Logo Lanfrica

Mylittlestories/otourhobo-haven

Domaine:

natural language processing

Type de record:

software
Créateur:
Myl
HĂ´te:
OtoUrhobo Haven — Learn, Speak, and Translate Urhobo # 👑 OtoUrhobo Haven — Ultimate Urhobo Language & Culture Suite OtoUrhobo Haven is a professional, high-performance, and feature-rich language suite designed to preserve, teach, and translate the **Urhobo language** (a Southwestern Edoid language of Delta State, Nigeria). Built with **Vite + React + TypeScript + Tailwind CSS**, the application replicates a Duolingo-style interactive learning experience combined with Google Translate-style deep linguistic processing, offline rule-based translation, and online **Vambo AI** deep learning integration. --- ## 🚀 Core Features ### 1. 🎙️ Advanced Syllabic Speech Engine (`voiceEngine.ts`) Standard Text-to-Speech (TTS) engines do not natively support Urhobo, often falling back to spelling words out letter-by-letter. To solve this, OtoUrhobo Haven implements a **dynamic phonetic compilation layer**: * **Letter-to-Sound Mapping**: Maps complex Edoid digraphs (`gb`, `kp`, `ghw`, `rh`, `ph`, `dj`, `ny`) and open vowels (`ẹ` / `/ɛ/`, `ọ` / `/ɔ/`) into optimized English syllabic equivalents. * **Spelling-out Prevention**: Strips hyphens and automatically converts short verbs (like *re*, *da*, *se*, *do*) into phonetic equivalents (like *ray*, *dah*, *say*, *dough*) to guarantee smooth, word-level natural speech. * **Phonetic Speech Recognition (STT)**: Since browser speech engines are trained on English, the app maps English transcriptions back into Urhobo words using sound-alike indexes and Levenshtein distance matching. This allows the app to analyze spoken Urhobo and give users a real-time **accuracy score (0–100%)**! ### 2. 🔀 Smart SVO Hybrid Translation Engine (`translatorEngine.ts`) The translator supports offline, high-fidelity English ↔ Urhobo translation with structural analysis: * **Offline POS Tagging**: Identifies pronouns, verbs, nouns, and adjectives. * **Grammatical Reordering Rules**: Urhobo places adjectives and possessives *after* nouns (e.g., *"my big house"* becomes *"house big my"* or *"uwevwi rode mẹ"*). …