‹ Hindi Trainer

Credits

Hindi Trainer is made by Yaduraj Bhageria. It leans on the work below — thank you to everyone who made it open.

Typefaces

Noto Serif Devanagari · Google
Sets every line of Devanagari in the app. Specimen · SIL Open Font License 1.1.
Source Serif 4 · Adobe
The wordmark and the phrase prompts. Project · SIL Open Font License 1.1.

Hearing the phrases

Recorded clips · Google Translate text-to-speech
Every phrase was spoken once by this voice and saved as a clip on this site. A clip plays when your device has no Hindi voice of its own.
System voices
Preferred when present. A device with a Hindi voice installed — Apple's Lekha, for instance — is used ahead of the recorded clips.

Scoring what you say

Web Speech API
Scores what you say in Chrome (desktop and Android) and in Safari on iPhone, where recognition is built into the browser. Where it is not available, you mark yourself.
Levenshtein distance
Vladimir Levenshtein's 1965 edit distance decides how close an attempt was, after both sides are stripped of nukta, their nasal marks unified, and any digits spelled out as Hindi words.

The Hindi

The phrase deck
356 phrases and 12 dialogues written for this app, in the everyday Hindi of north Indian cities, and drafted with Claude. It is a learner's deck, not a reference work: usage varies between regions, families and generations, and a native speaker will always be a better guide than an app. Corrections are welcome.
Formal (shuddh) Hindi
The final lesson, Reading the signs, is the formal, Sanskrit-heavy register used on signage, forms and railway announcements, rather than the Hindi people speak.

Interface

Claude artifacts · Anthropic
The visual language — the warm paper background, the terracotta accent, the serif display face and the soft-edged cards — follows the look of Claude's artifacts.
Cloudflare Pages
Hosting. The site is files only; no server code runs.

No third-party analytics, no accounts, no tracking. Your progress is stored in this browser and mirrored into IndexedDB; nothing about it is sent anywhere. Your voice never reaches this site: your browser's own speech recognition scores it (Google's in Chrome, Apple's in Safari).

शुक्रिया · thanks for reading