Algorithm Search⌘K

Definitionintro

Parallel corpus

Also called bitext, bilingual corpus.

A collection of texts paired with their translations, aligned at the document or sentence level, the training data of translation models.

A parallel corpus, or bitext, is a collection of texts in one language together with their translations in another language, in which each text is paired with its translation. The pairs are usually aligned further, so that each sentence or short group of sentences is paired with its translation. The sentence pairs are the training data of statistical and neural machine translation: a translation model learns from them which words and phrases translate each other, first by word alignment. Early large examples were the Canadian Hansards, the English and French proceedings of the Canadian parliament, and Europarl, the proceedings of the European Parliament (Koehn 2005).

Definition

A document-level parallel corpus is a finite set of pairs (d,d′)(d, d'), where dd is a text in language LL and d′d' is a text in language L′L' with the same content: one translates the other, or both translate a third text.

A sentence-aligned parallel corpus is a finite sequence of pairs (fk,ek)(f_k, e_k), k=1,…,Nk = 1, \ldots, N, where fkf_k is a sentence or a short block of consecutive sentences of a text in LL, eke_k is the corresponding block of its translation in L′L', and the blocks are found by sentence alignment. The pair is a sentence pair even if a block has two sentences, or none. Many corpora drop the pairs in which one side is empty.

A multi-parallel corpus has the same content in more than two languages, so that each text comes as a tuple of translations.

The definition requires the content to be the same, not the form. Translations can split and merge sentences, change their order inside a sentence, add explanations and leave things out. A corpus can also record the direction of translation, which original text was translated into which language, because translated text differs in style from original text.

Examples and non-examples

  • The Canadian Hansards. The debates of the Canadian parliament are published in English and in French. Brown, Lai and Mercer (1991) aligned them at the sentence level, and the IBM translation models were trained on them.
  • Europarl. The proceedings of the European Parliament in the official languages of the European Union, collected and aligned at the document and sentence level by Koehn (2005). Because every text exists in many languages, it is a multi-parallel corpus.
  • The Rosetta Stone. The same decree written in Egyptian hieroglyphs, Demotic script and Greek. It is a small multi-parallel text, and it helped scholars to read hieroglyphs.
  • A tiny sentence-aligned corpus. The three pairs ("das Haus", "the house"), ("das Buch", "the book") and ("ein Buch", "a book") are the example corpus on which IBM Model 1 learns that "Haus" translates "house".
  • Synthetic pairs. Back-translation translates monolingual text by machine to get more pairs. The result is used as a parallel corpus, but one side is not a human translation, and it is usually marked as synthetic.
  • Non-example: a comparable corpus. News articles in two languages about the same events are related but do not translate each other. Some of their sentences are translations, and a search for such sentence pairs can build a parallel corpus from them, but the articles themselves are not parallel.
  • Non-example: two unrelated texts in two languages. Without the relation of translation there is nothing to align.
  • Sentence alignment turns a document-level corpus into a sentence-aligned one, for example by Gale-Church alignment, which uses sentence lengths only. It needs the sentences, which sentence boundary detection finds.
  • Word alignment adds links between the words of each sentence pair.
  • Test sets for evaluation are small parallel corpora held out from training. Metrics such as BLEU compare a system output with the human translation of the test set.

References

  1. Koehn 2005, the collection of the European Parliament proceedings, their alignment at the document and sentence level, and the translation systems trained on it
  2. Peter F. Brown, Jennifer C. Lai and Robert L. Mercer, Aligning sentences in parallel corpora, 29th Annual Meeting of the ACL, 1991, pages 169 to 176, the Canadian Hansards as a parallel corpus of English and French, and their alignment at the sentence level
  3. Philipp Koehn, Statistical Machine Translation, Cambridge University Press, 2010, Chapter 2 (Words, Sentences, Corpora)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/JXF310/text.yaml