Glossary
A reference guide to the core concepts, acronyms, and terminology used across Bhashini's Machine Translation (NMT), Transliteration, and Text Processing APIs.
Core Terminology
| Term | Definition | Example / API Field |
|---|---|---|
| Service ID | Unique identifier representing a specific deployed model or pipeline instance hosted on Dhruva. | ai4bharat/indictrans-v2-all-gpu--t4 |
| Source Language | The ISO 639-1 or 639-3 language code of the input text provided in the request payload. | "sourceLanguage": "en" |
| Target Language | The ISO 639-1 or 639-3 language code for the generated translation or transliteration. | "targetLanguage": "hi" |
| Script Code | ISO 15924 four-letter code denoting the script system used to render the characters. | Deva (Devanagari), Latn (Latin), Beng (Bengali) |
| Transliteration | Phonetic script conversion that maps words from one writing system to another without changing the underlying meaning or language. | "namaste" → "नमस्ते" |
| Translation (NMT) | Semantic transformation converting the meaning of text from a source language into a target language. | "Good morning" → "सुप्रभात" |
| Token & Subword | The fundamental lexical unit processed by transformer neural networks, typically segmented via Byte-Pair Encoding (BPE) or SentencePiece. | Compound words split into subword fragments |
| Inference Pipeline | The orchestrated orchestration endpoint (/services/inference/pipeline) that can execute single or chained language AI tasks in a single HTTP request. | pipelineTasks: [{ taskType: "translation", ... }] |
| BLEU Score | Bilingual Evaluation Understudy — a standard n-gram precision metric (0–100) used to benchmark machine translation quality against human reference translations. | Higher BLEU indicates closer match to reference text |
| chrF++ | Character n-gram F-score — an evaluation metric especially suited for agglutinative and morphologically rich Indic languages. | Standard Indic benchmark metric |
| Zero-Shot Pair | A language direction (e.g., Dogri → Assamese) where the model was not explicitly trained on direct parallel corpora but translates via multilingual representations. | Direct Indic-to-Indic translation |
Translation vs. Transliteration
Understanding the distinction between translation and transliteration is essential when designing multilingual search, form inputs, and user interfaces:
Input: "Bharat" (English script)
├── Transliteration (Script change) ──> "भारत" (Same word, Devanagari script)
└── Translation (Language change) ──> "India" (English semantic equivalent)- Use Transliteration when: You want users to type phonetically using standard QWERTY keyboards (e.g., typing
"namaskar"to produce"नमस्कार"in a search box or text field). - Use Translation when: You need the semantic meaning of sentences converted into another language for readers who speak that target language.
Interactive Tryout
Test a translation query live using the interactive runner below to inspect how source text, language codes, and service configurations map to the Dhruva response:
Try a sample
Experiment with a translation to reinforce terms
Request
Select model
हिन्दी | Hindi
ગુજરાતી | Gujarati
Add an inference API key to run.
curl
Response
Send a request to see the live response here.