AI Data & Human-in-the-Loop

Building a Parallel Corpus for Indian-Language Machine Translation

Parallel corpus Indian languages guide for MT teams: domain choice, source selection, translation rules, second review and TMX formats. Talk to us.

Building a Parallel Corpus for Indian-Language Machine Translation
AI Data & Human-in-the-Loop·Published 2026-01-15·Updated 2026-11-26

By BOL Media Editorial Team · Reviewed by a project manager and language QC lead.

A parallel corpus in Indian languages is the set of aligned source and target sentences a machine translation engine learns from, and its quality sets the ceiling on everything the engine will ever produce. If the pairs are loose, inconsistent or machine-generated, the engine learns to be loose, inconsistent and confidently wrong, and no amount of fine-tuning will fully undo it.

Most teams start with whatever is freely available: crawled government websites, subtitles, religious texts and bilingual news. That gets an engine to general fluency, but it rarely teaches the vocabulary of a specific domain such as contracts, insurance policies, clinical notes or product listings. This guide explains how to commission a human-translated, domain-specific corpus that fixes those gaps, from choosing source sentences to file formats. It is the method behind our human data for AI service for parallel translation data.

Throughout, we use one illustrative case: a legal-tech startup whose English-to-Marathi engine writes beautiful Marathi that a practising advocate would never sign. The problem was not the model architecture. It was the data.

Need professional localisation support for a release? Explore human data for ai or brief BOL Media with your project details.

Parallel corpus, Indian languages and why scraped data falls short

Web-mined pairs are aligned automatically by sentence length and similarity scores, so a share of them are not true translations at all: one side is a summary, a paraphrase, or a neighbouring sentence. Even the genuine pairs skew towards a few domains, mainly government notices, news and scripture, and towards formal, Sanskritised Hindi or Marathi that ordinary users do not write.

The bigger issue is domain. A general engine trained on news has rarely seen 'indemnify', 'without prejudice' or 'consideration' used in their legal senses, so it falls back on the everyday meaning. The output reads fluently, which is exactly why the error survives: a non-specialist reviewer sees good Marathi and moves on.

Licensing is the third problem. Crawled text often has unclear rights for commercial model training, and that uncertainty follows the model into production. A commissioned corpus, translated under a clear agreement, removes the question.

  • Misaligned pairs where the target is a paraphrase or a different sentence
  • Narrow domain spread: news, government and religious text dominate
  • Register mismatch: highly formal vocabulary that users rarely type
  • Machine-translated pages silently mixed into 'human' data
  • Unclear licensing for commercial training use

Choosing domains and source sentences

Start from the traffic your engine actually receives. Pull a few thousand real, anonymised requests, cluster them by document type, and let that distribution set your sampling quotas. For the legal-tech example, that meant sale deeds, rental agreements, legal notices, affidavits, court orders and client correspondence, in roughly the proportions users uploaded them.

Then choose sentences, not documents. A good machine translation training data set covers short and long sentences, headings, numbered clauses, defined terms, dates and amounts, and the awkward constructions that break engines, such as nested conditions and long lists. Deduplicate near-identical boilerplate, or the engine will memorise one standard clause and learn little else.

Strip or replace personal data before anything reaches a translator. Names, addresses, case numbers, Aadhaar and PAN numbers, and account details should be swapped for realistic placeholders that keep the sentence grammatical, such as a consistent fictional name and a dummy survey number.

  • Sample by real document type and frequency, not by what is easiest to find
  • Cap boilerplate: keep a handful of variants of each standard clause
  • Include a deliberate share of hard sentences: long, nested, list-heavy, number-heavy
  • Replace personal identifiers with consistent placeholders before translation
  • Hold back a separate, never-trained test set drawn from the same pool

Translation rules for training data

Translating for a model is not the same as translating for a reader. A publication translator may merge two sentences, drop a redundancy or restructure a paragraph for flow. In a translation dataset that freedom is harmful, because the engine learns that content can disappear. The rule set should be written down and tested on a pilot batch before production.

Faithfulness comes first, but not word-for-word literalism. The target should be natural, correct Marathi that a domain expert would accept, with every piece of information from the source present and nothing added. Where English uses a term of art, the target uses the agreed equivalent from the glossary, even if a translator personally prefers another word.

  • One source segment, one target segment: no merging, splitting or reordering across segments
  • No omissions and no additions, including explanatory glosses in brackets
  • Keep numbers, dates, section references and defined terms exactly; localise format only if the guideline says so
  • Use glossary equivalents for every listed term; flag unlisted terms rather than inventing
  • Do not use any MT tool or AI assistant unless the project is explicitly post-editing
  • Mark untranslatable or broken source segments with a reason code instead of guessing

Consider a legal-tech startup that lets users upload English agreements and receive Marathi versions for clients in Maharashtra. Its engine was fine-tuned on general web data. Users loved the readability, but advocates kept correcting the same things. 'Consideration' in a contract came out as विचार (thought) rather than मोबदला (consideration, payment). 'Surety' and 'bail' were blurred, so जामीनदार (the guarantor) and जामीन (the bail itself) appeared interchangeably. 'Execute the deed' was rendered with a word closer to 'enforce' than 'sign and complete'.

The team first measured the problem. Two Marathi-speaking advocates reviewed a sample of a few hundred translated clauses and tagged each error by type: terminology, omission, register, grammar or number. Terminology dominated, and most of it involved a list of perhaps two hundred recurring legal terms. Automatic scores such as BLEU and chrF looked respectable, which confirmed that the metrics were rewarding fluency rather than legal accuracy.

They then commissioned a domain corpus. The work began with a glossary of those recurring terms, agreed by the advocates, followed by source sampling from anonymised user documents across six document types. Legal translators worked under the rules above, a second linguist with legal experience reviewed every batch, and rejected segments were logged with reasons. A held-out test set of real clauses was translated separately and never used for training.

After fine-tuning on the new pairs, the advocates repeated the same error-tagging exercise on fresh clauses. Terminology errors dropped sharply, the remaining errors shifted towards rarer terms and long, nested sentences, and that gave the team a clear brief for the next batch. The lesson was simple: a modest, carefully built corpus did more than a much larger scraped one.

Second-linguist review

Every batch should pass a reviewer who did not translate it. The reviewer checks the target against the source segment by segment, corrects or rejects, and records why. For a training corpus, rejection is often better than repair: a segment that needed heavy rewriting suggests either a bad source or a translator who misunderstood the rules, and both are worth investigating.

Track reviewer findings by translator and error type, and check periodically that two reviewers reach the same verdict on the same segments, using the approach in our guide to annotation quality and inter-annotator agreement. If one translator's batches keep failing on register, retrain or replace them early rather than discovering it after fifty thousand pairs. Seeding batches with a few pre-agreed gold segments, as described in our guide to gold-standard test sets for Indic AI, lets you check reviewers as well as translators.

  • Accept: correct, complete, glossary-compliant, natural
  • Fix: minor errors corrected by the reviewer, logged with an error type
  • Reject: misunderstanding, omission or bad source; logged with a reason code
  • Escalate: legal or domain ambiguity sent to the subject expert, answer added to the query log

Glossaries and consistency

Inconsistency is the silent killer of English Hindi parallel data and every other Indian-language pair. If 'tenant' is भाडेकरू in one file and किरायेदार in another, the engine learns that both are acceptable and will alternate unpredictably. A glossary fixes one preferred equivalent per term per domain, with notes on forbidden alternatives.

Build the glossary before production, not during it, and version it. Each entry should carry the English term, the agreed target, part of speech, a usage note and an example sentence. Our guide on how to build a glossary for multilingual projects covers the structure in detail. Run an automatic glossary-compliance check on every delivered batch so that drift is caught by a script rather than by the model.

  • Term, target equivalent, part of speech, domain, usage note, example
  • Forbidden or deprecated alternatives listed explicitly
  • Script and spelling conventions for loanwords, such as whether to write 'agreement' in English or as करार
  • Rules for numerals: Devanagari digits or Latin digits, decided once
  • A change log so engineers know which batches used which glossary version

Formats: TMX, TSV and JSON

TMX is the standard translation-memory exchange format and is useful if the corpus will also feed a CAT tool or a translation memory. It carries language codes and per-unit properties, but it is verbose and some ML pipelines need a converter. TSV is the simplest option for training scripts, provided tabs and line breaks inside segments are escaped consistently.

JSON Lines, one record per line, is the most flexible for ML teams because metadata travels with each pair. A typical record holds an id, source language code (en), target language code (mr), source text, target text, domain, document type, translator id, reviewer id, review status, glossary version and batch number. Whatever the format, use UTF-8, normalise Unicode consistently (NFC is the usual choice), and agree how placeholders are written.

  • TMX: best for translation-memory reuse and CAT tool import
  • TSV: simplest for training; needs strict escaping rules
  • JSON Lines: richest metadata; easy filtering by domain or reviewer
  • Always UTF-8 with a single Unicode normalisation form
  • Separate files for training, validation and held-out test data

Common mistakes when commissioning a parallel corpus

The most expensive mistake is quietly accepting MT output as human translation. Ask vendors how they prevent it, and spot-check by comparing deliveries with the output of public engines. Near-identical matches across many segments are a warning sign. The second mistake is skipping the pilot: a few hundred segments reviewed by your own experts will expose rule gaps before they are multiplied across the whole project.

Teams also underinvest in the test set. If test sentences leak into training, scores rise and real-world quality does not. Keep the test set small, real, reviewed by a different linguist, and locked away. Finally, think about direction early: translating from English into Marathi produces different data from translating Marathi originals into English, and the engine will reflect that.

How BOL Media handles this

  1. Brief and reference review with the producer or content owner.
  2. Script adaptation by a native linguist — not literal translation.
  3. Voice casting, including curated options for lead and supporting roles.
  4. Recording in acoustically-treated studios with on-mic direction.
  5. Editing, mix and master to the target platform spec.
  6. Linguistic and technical QC pass before final delivery.

Related services: Translation · Translation glossary · Contact

Frequently asked questions

How many sentence pairs are enough?

It depends on the starting point. Fine-tuning a capable general engine for one domain can show clear gains from a few thousand to a few tens of thousands of well-chosen pairs, while training from scratch needs vastly more. The practical approach is to build in batches, retrain after each, and measure on a fixed held-out test set. When new batches stop moving domain-specific errors, shift effort to harder sentences rather than more of the same.

Should we translate from English or between Indian languages?

Translate in the direction your users need, and from original text where possible. English-pivoted data is easier to source because English documents and translators are plentiful, but it carries English sentence structure into both sides. For Hindi to Tamil or Bengali to Marathi use cases, direct translation by bilingual linguists produces more natural pairs. Many teams combine both, labelling each record with its direction so engineers can weight or filter them.

Can post-edited MT be used as training data?

Yes, with care. Fully post-edited machine translation reviewed by a second linguist can be good training data and is quicker to produce than translation from scratch. The risk is that post-editors leave acceptable but MT-shaped phrasing, which reinforces the engine's own habits. Label post-edited pairs separately from human translations, keep the raw MT for edit analysis, and avoid using light post-edited text for training because it is not meant to be fully correct.

How do we stop translators using machine translation secretly?

State the rule in the contract and the guideline, then verify it. Compare a sample of deliveries with output from common public engines; very high similarity across many segments is a red flag. Review keystroke or time logs if your tool records them, and include a few segments where MT is known to fail in a recognisable way. A vendor with a clear editorial process should welcome the checks rather than resist them.

What metadata should each sentence pair carry?

At minimum: a unique id, language codes, domain, document type, translation direction, whether it is human-translated or post-edited, translator and reviewer ids, review status, glossary version and batch number. Engineers use this to filter weak segments, balance domains, trace errors back to a batch and exclude a translator's work if a quality issue appears later. Without metadata, a corpus is hard to audit or improve.

Who owns the rights to a commissioned translation dataset?

That should be settled in the agreement before work starts. Typically the commissioning company receives full rights to use the translations for training, evaluation and commercial deployment, while source texts remain subject to their original rights. Make sure the vendor's agreements with its translators assign those rights cleanly, and that source documents are either your own, licensed for this use, or properly anonymised.

Continue inside the AI Data & Human-in-the-Loop cluster

Browse the full AI Data & Human-in-the-Loop cluster in the BOL Insights library, or explore the parent service — Human Data for AI — and related work in Translation, Translation glossary, Contact.

Work with BOL Media

Planning a domain corpus for legal, financial, health or commerce translation in Indian languages? We can scope the domains, build the glossary, run a paid pilot batch with second-linguist review, and deliver aligned pairs in the format your pipeline expects. See how [our human data for AI team](/services/human-data-for-ai) works, explore our wider [translation services](/services/translation) and [legal-sector work](/industries/legal), or [share your language pairs and domain with us](/contact) to get a pilot plan.

Brief BOL Media