Hey folks,
I’ve been building Vaani, an open-source, offline-first semantic understanding (NLU) engine built for code-switched Hinglish and Indic voice/text inputs, designed to run on-device without cloud round-trips or heavy Python runtime dependencies.
Why I built it
Most Indian voice and chat interfaces either rely on cloud APIs or struggle with Romanized Indic spelling variation and ASR transcription noise. Vaani pairs a deterministic C++17 phonetic normalizer with a quantized ONNX intent/slot pipeline so devices can parse commands locally in ~22 ms.
Current Benchmarks
-
Accuracy: 92.3% intent accuracy on Hinglish-TOP (88.0% under simulated ASR noise)
-
Latency: ~22.3 ms p50 inference on CPU
-
Footprint: ~20–22.5 MB peak RSS
-
Runtime: Zero-cloud C++17 core (
libnormalizer.so) + quantized ONNX weights
How It Works
-
C++17 Phonetic Normalizer: Canonicalizes Romanized Indic consonant/vowel variations, elongations, and common ASR phonetic confusions before tokenization.
-
Quantized ONNX Encoder: Runs lightweight intent classification and slot extraction in under 23 MB RAM, making it viable for mobile, embedded Linux, and edge hardware.
-
Language-Agnostic Rule Tables: Normalization rules are structured so additional Indic scripts and Romanized dialects can be added cleanly.
Looking for Feedback & Contributors
I’d love feedback from the FOSS United community on two fronts:
-
Phonetic normalization edge cases: If you work with Telugu, Tamil, Kannada, Marathi, or Bengali Romanized text/ASR outputs, what common spelling or phonetic collisions trip up your pipelines?
-
Contributions: I’ve tagged a few starter issues on GitHub covering:
-
Expanding phonetic rules for additional Indic languages
-
Cross-platform CMake / Android NDK packaging
-
Adding noisy-ASR evaluation fixtures
-
Happy to answer any questions!