---
title: "Bifixer and Bicleaner — Ramírez-Sánchez 2020"
description: "Neural MT is more sensitive to noisy training data than older statistical systems."
authors: ["Gema Ramírez-Sánchez", "Jaume Zaragoza-Bernabeu", "Marta Bañón", "Sergio Ortiz Rojas"]
year: 2020
venue: "Proceedings of the 22nd Annual Conference of the European Association for Machine Translation"
source: "https://aclanthology.org/2020.eamt-1.31/"
licence: "CC BY-ND 4.0 (EAMT)"
licence_url: "https://creativecommons.org/licenses/by-nd/4.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/papers/sanchez-2020-bifixer-bicleaner-two-open-source/"
---
[Elamur Research](https://md.research.elamur.ai/) · [this page in HTML](https://research.elamur.ai/free/papers/sanchez-2020-bifixer-bicleaner-two-open-source/)

[home](https://md.research.elamur.ai/) / [papers](https://md.research.elamur.ai/free/papers/) / [2020](https://md.research.elamur.ai/free/papers/2020/) / Bifixer and Bicleaner: two open-source tools to clean your parallel data

# Bifixer and Bicleaner: two open-source tools to clean your parallel data

**Authors:** [Gema Ramírez-Sánchez](https://md.research.elamur.ai/free/authors/gema-ramirez-sanchez/), Jaume Zaragoza-Bernabeu, [Marta Bañón](https://md.research.elamur.ai/free/authors/marta-banon/), [Sergio Ortiz Rojas](https://md.research.elamur.ai/free/authors/sergio-ortiz-rojas/) · **Year:** 2020 · **Venue:** Proceedings of the 22nd Annual Conference of the European Association for Machine Translation · **Licence:** [CC BY-ND 4.0 (EAMT)](https://creativecommons.org/licenses/by-nd/4.0/)

**Links:** [Publisher's page](https://aclanthology.org/2020.eamt-1.31/) · [PDF](https://aclanthology.org/2020.eamt-1.31.pdf)

**Citations:** [54](#cited-by) in our library, of the 140673 papers whose bibliographies we read

## Summary

Neural MT is more sensitive to noisy training data than older statistical systems. Yet widely used public parallel corpora are often fed to training without any cleaning. The authors test two open-source tools from the ParaCrawl project on four English–Portuguese corpora: Europarl, OpenSubtitles, JW300 and WikiMatrix. The tools were originally built for raw web-crawled text.

- **Bifixer** repairs data before filtering. It fixes encoding and Mojibake, HTML entities and common typos, re-splits glued sentences, and marks exact and near duplicates.
- **Bicleaner** then filters the data. It applies 37 hand-written rules and scores each remaining sentence pair with a random-forest classifier. To keep the evaluation fair, the authors trained new classifiers that excluded the tested corpora.

The authors trained Transformer systems in both translation directions, before and after cleaning, using two classifier thresholds (0.5 and 0.7). Cleaning shrank the noisier corpora sharply and shortened training time. BLEU was equal or slightly higher in every setting, and the strictest filtering gave the best scores. This shows that cleaning even well-known corpora is a cheap step that can save disk space and compute without hurting translation quality.

## Key points

- **Corpus sizes (EN–PT):** Europarl v7 has 2.2M sentence pairs, OpenSubtitles 2018 has over 33M, JW300 has 2.1M and WikiMatrix has 4.4M.
- **Bifixer results (averages):** re-splitting recovers about 1.1% new sentences, about 4.6% of sentences get fixed, and about 9.8% are removed as duplicates or near duplicates. OpenSubtitles alone loses 8.1M pairs (24.5%) at this stage.
- **Manual check of 100 sample pairs per corpus:** problems appeared in 30 pairs from WikiMatrix, 11 from OpenSubtitles and 2 from Europarl.
- **MT setup:** 24 Transformer-base systems built with Marian and SentencePiece (32k vocabulary). They were evaluated on TED Talks dev/test sets with sacreBLEU.
- **Main result:** the largest gain, +1 to +2.2 BLEU, came from OpenSubtitles after about 22M pairs (two-thirds of the corpus) were removed. WikiMatrix shrank by about half. Europarl EN→PT stayed unchanged, and the authors suggest some rules may be too strict for already clean data.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

Fields: [Linguistics & languages](https://md.research.elamur.ai/free/shelves/linguistics/) · [Machine translation](https://md.research.elamur.ai/free/shelves/machine-translation/)

## Cited by

Cited by

54 papers of our library cite it (of the 140673 whose bibliographies we read); 4 of them have a page here, 50 not yet.

- [Tower: An Open Multilingual Large Language Model for Translation-Related Tasks](https://md.research.elamur.ai/free/papers/alves-2024-tower-open-multilingual-large-language/)
- [EuroLLM: Multilingual Language Models for Europe](https://md.research.elamur.ai/free/papers/martins-2024-eurollm-multilingual-language-models-europe/)
- [ParaCLEAN: Improving Translation Quality through Systematic Parallel Data Cleaning](https://md.research.elamur.ai/free/papers/mash-2026-paraclean-improving-translation-quality-through/)
- [When Translations Surprise: Human Awareness of Predictability in Translations](https://md.research.elamur.ai/free/papers/romero-2026-when-translations-surprise-human-awareness/)

## Cite

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{ramirezsanchez2020bifixer,
  title = {{Bifixer and Bicleaner: two open-source tools to clean your parallel data}},
  author = {Ramírez-Sánchez, Gema and Zaragoza-Bernabeu, Jaume and Bañón, Marta and Rojas, Sergio Ortiz},
  booktitle = {Proceedings of the 22nd Annual Conference of the European Association for Machine Translation},
  year = {2020},
  url = {https://aclanthology.org/2020.eamt-1.31/}
}
```

- [← previous BERTweet: A pre-trained language model for English Tweets](https://md.research.elamur.ai/free/papers/nguyen-2020-bertweet-pre-trained-language-model/)
- [next → Big Bird: Transformers for Longer Sequences](https://md.research.elamur.ai/free/papers/zaheer-2020-big-bird-transformers-longer-sequences/)
- [↑ back to papers of 2020](https://md.research.elamur.ai/free/papers/2020/)

## References

15 references, 10 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Agic, Zeljko and Ivan Vulic. 2019. Jw300: A wide-coverage parallel corpus for low-resource languages. In Korhonen, Anna, David R. Traum, and Lluı́s Màrquez, editors, ACL (1), pages 3204–3210. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Agic%2C+Zeljko+and+Ivan+Vulic%2E+2019%2E+Jw300%3A+A+wide%2Dcoverage+parallel+corpus+for+low%2Dresource+languages%2E+In+Korhonen%2C+Anna%2C+David+R%2E+Traum%2C+and+Llu%C4%B1%CC%81s+Ma%CC%80rquez%2C+editors%2C+ACL+%281%29%2C+pages+3204%E2%80%933210%2E+Associa) [our card](https://md.research.elamur.ai/free/papers/agic-2019-jw300-wide-coverage-parallel-corpus/)
2. Chaudhary, Vishrav, Yuqing Tang, Francisco Guzmán, Holger Schwenk, and Philipp Koehn. 2019. Low-resource corpus filtering using multilingual sentence embeddings. In Proceedings of the Fourth Conference on Machine Translation (Volume 3: Shared Task Papers, Day 2), pages 261–266, Florence, Italy, Aug… [find](https://scholar.google.com/scholar?q=Chaudhary%2C+Vishrav%2C+Yuqing+Tang%2C+Francisco+Guzma%CC%81n%2C+Holger+Schwenk%2C+and+Philipp+Koehn%2E+2019%2E+Low%2Dresource+corpus+filtering+using+multilingual+sentence+embeddings%2E+In+Proceedings+of+the+Fourth+Conferen) [our card](https://md.research.elamur.ai/free/papers/chaudhary-2019-low-resource-corpus-filtering-multilingual/)
3. Defauw, Arne, Tom Vanallemeersch, Sara Szoc, Frederic Everaert, Koen Van Winckel, Kim Scholte, Joris Brabers, and Joachim Van den Bogaert. 2019. Collecting domain specific data for mt: an evaluation of the paracrawl pipeline. In Proceedings of Machine Translation Summit XVII Volume 2: Translator, Pr… [find](https://scholar.google.com/scholar?q=Defauw%2C+Arne%2C+Tom+Vanallemeersch%2C+Sara+Szoc%2C+Frederic+Everaert%2C+Koen+Van+Winckel%2C+Kim+Scholte%2C+Joris+Brabers%2C+and+Joachim+Van+den+Bogaert%2E+2019%2E+Collecting+domain+specific+data+for+mt%3A+an+evaluation+o)
4. Junczys-Dowmunt, Marcin, Roman Grundkiewicz, Tomasz Dwojak, Hieu Hoang, Kenneth Heafield, Tom Neckermann, Frank Seide, Ulrich Germann, Alham Fikri Aji, Nikolay Bogoychev, André F. T. Martins, and Alexandra Birch. 2018. Marian: Fast neural machine translation in C++. In Proceedings of ACL 2018, Syst… [find](https://scholar.google.com/scholar?q=Junczys%2DDowmunt%2C+Marcin%2C+Roman+Grundkiewicz%2C+Tomasz+Dwojak%2C+Hieu+Hoang%2C+Kenneth+Heafield%2C+Tom+Neckermann%2C+Frank+Seide%2C+Ulrich+Germann%2C+Alham+Fikri+Aji%2C+Nikolay+Bogoychev%2C+Andre%CC%81+F%2E+T%2E+Martins%2C+and+Ale) [our card](https://md.research.elamur.ai/free/papers/junczys-2018-dowmunt-marian-fast-neural-machine-translation/)
5. Khayrallah, Huda and Philipp Koehn. 2018. On the impact of various types of noise on neural machine translation. In Proceedings of the Second Workshop on Neural Machine Translation and Generation, Melbourne. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Khayrallah%2C+Huda+and+Philipp+Koehn%2E+2018%2E+On+the+impact+of+various+types+of+noise+on+neural+machine+translation%2E+In+Proceedings+of+the+Second+Workshop+on+Neural+Machine+Translation+and+Generation%2C+Mel) [our card](https://md.research.elamur.ai/free/papers/khayrallah-2018-impact-various-types-noise-neural/)
6. Koehn, Philipp, Huda Khayrallah, Kenneth Heafield, and Mikel L. Forcada. 2018. Findings of the WMT 2018 shared task on parallel corpus filtering. In Proceedings of the Third Conference on Machine Translation: Shared Task Papers, Belgium, Brussels, October. Association for Computational Linguistics. [find](https://scholar.google.com/scholar?q=Koehn%2C+Philipp%2C+Huda+Khayrallah%2C+Kenneth+Heafield%2C+and+Mikel+L%2E+Forcada%2E+2018%2E+Findings+of+the+WMT+2018+shared+task+on+parallel+corpus+filtering%2E+In+Proceedings+of+the+Third+Conference+on+Machine+Tran) [our card](https://md.research.elamur.ai/free/papers/koehn-2018-findings-wmt-2018-shared-task/)
7. Koehn, Philipp, Francisco Guzmán, Vishrav Chaudhary, and Juan Pino. 2019. Findings of the WMT 2019 shared task on parallel corpus filtering for low-resource conditions. In Proceedings of the Fourth Conference on Machine Translation, WMT 2019, Florence, Italy, August 1-2, 2019 - Volume 3: Shared Tas… [find](https://scholar.google.com/scholar?q=Koehn%2C+Philipp%2C+Francisco+Guzma%CC%81n%2C+Vishrav+Chaudhary%2C+and+Juan+Pino%2E+2019%2E+Findings+of+the+WMT+2019+shared+task+on+parallel+corpus+filtering+for+low%2Dresource+conditions%2E+In+Proceedings+of+the+Fourth+C) [our card](https://md.research.elamur.ai/free/papers/koehn-2019-findings-wmt-2019-shared-task/)
8. Koehn, Philipp. 2005. Europarl: A Parallel Corpus for Statistical Machine Translation. In Conference Proceedings: the tenth Machine Translation Summit, pages 79–86, Phuket, Thailand. AAMT, AAMT. [find](https://scholar.google.com/scholar?q=Koehn%2C+Philipp%2E+2005%2E+Europarl%3A+A+Parallel+Corpus+for+Statistical+Machine+Translation%2E+In+Conference+Proceedings%3A+the+tenth+Machine+Translation+Summit%2C+pages+79%E2%80%9386%2C+Phuket%2C+Thailand%2E+AAMT%2C+AAMT%2E)
9. Lison, Pierre and Jörg Tiedemann. 2016. Opensubtitles2016: Extracting large parallel corpora from movie and tv subtitles. In Calzolari, Nicoletta, Khalid Choukri, Thierry Declerck, Sara Goggi, Marko Grobelnik, Bente Maegaard, Joseph Mariani, Hélène Mazo, Asunción Moreno, Jan Odijk, and Stelios P… [find](https://scholar.google.com/scholar?q=Lison%2C+Pierre+and+Jo%CC%88rg+Tiedemann%2E+2016%2E+Opensubtitles2016%3A+Extracting+large+parallel+corpora+from+movie+and+tv+subtitles%2E+In+Calzolari%2C+Nicoletta%2C+Khalid+Choukri%2C+Thierry+Declerck%2C+Sara+Goggi%2C+Marko+) [our card](https://md.research.elamur.ai/free/papers/lison-2016-opensubtitles2016-extracting-large-parallel-corpora/)
10. Morishita, Makoto, Jun Suzuki, and Masaaki Nagata. 2019. Jparacrawl: A large scale web-based english-japanese parallel corpus. arXiv preprint arXiv:1911.10668. [find](https://scholar.google.com/scholar?q=Morishita%2C+Makoto%2C+Jun+Suzuki%2C+and+Masaaki+Nagata%2E+2019%2E+Jparacrawl%3A+A+large+scale+web%2Dbased+english%2Djapanese+parallel+corpus%2E+arXiv+preprint+arXiv%3A1911%2E10668%2E)
11. Rikters, Matı̄ss. 2018. Impact of Corpora Quality on Neural Machine Translation. In In Proceedings of the 8th Conference Human Language Technologies - The Baltic Perspective (Baltic HLT 2018), Tartu, Estonia. [find](https://scholar.google.com/scholar?q=Rikters%2C+Mat%C4%B1%CC%84ss%2E+2018%2E+Impact+of+Corpora+Quality+on+Neural+Machine+Translation%2E+In+In+Proceedings+of+the+8th+Conference+Human+Language+Technologies+%2D+The+Baltic+Perspective+%28Baltic+HLT+2018%29%2C+Tartu%2C+)
12. Sánchez-Cartagena, Vı́ctor M., Marta Bañón, Sergio Ortiz-Rojas, and Gema Ramı́rez-Sánchez. 2018. Prompsit’s submission to WMT 2018 Parallel Corpus Filtering shared task. In Proceedings of the Third Conference on Machine Translation, Volume 2: Shared Task Papers, Brussels, Belgium, October. Assoc… [find](https://scholar.google.com/scholar?q=Sa%CC%81nchez%2DCartagena%2C+V%C4%B1%CC%81ctor+M%2E%2C+Marta+Ban%CC%83o%CC%81n%2C+Sergio+Ortiz%2DRojas%2C+and+Gema+Ram%C4%B1%CC%81rez%2DSa%CC%81nchez%2E+2018%2E+Prompsit%E2%80%99s+submission+to+WMT+2018+Parallel+Corpus+Filtering+shared+task%2E+In+Proceedings+of+the+Thir) [our card](https://md.research.elamur.ai/free/papers/cartagena-2018-prompsit-s-submission-wmt-2018/)
13. Schwenk, Holger, Vishrav Chaudhary, Shuo Sun, Hongyu Gong, and Francisco Guzmán. 2019. Wikimatrix: Mining 135m parallel sentences in 1620 language pairs from wikipedia. CoRR, abs/1907.05791. [find](https://scholar.google.com/scholar?q=Schwenk%2C+Holger%2C+Vishrav+Chaudhary%2C+Shuo+Sun%2C+Hongyu+Gong%2C+and+Francisco+Guzma%CC%81n%2E+2019%2E+Wikimatrix%3A+Mining+135m+parallel+sentences+in+1620+language+pairs+from+wikipedia%2E+CoRR%2C+abs%2F1907%2E05791%2E) [our card](https://md.research.elamur.ai/free/papers/schwenk-2019-wikimatrix-mining-135m-parallel-sentences/)
14. Ye, Qi, Sachan Devendra, Felix Matthieu, Padmanabhan Sarguna, and Neubig Graham. 2018. When and why are pre-trained word embeddings useful for neural machine translation. In HLT-NAACL. [find](https://scholar.google.com/scholar?q=Ye%2C+Qi%2C+Sachan+Devendra%2C+Felix+Matthieu%2C+Padmanabhan+Sarguna%2C+and+Neubig+Graham%2E+2018%2E+When+and+why+are+pre%2Dtrained+word+embeddings+useful+for+neural+machine+translation%2E+In+HLT%2DNAACL%2E) [our card](https://md.research.elamur.ai/free/papers/qi-2018-when-why-are-pre-trained/)
15. Bicleaner Corpora DGT EuBookshop JRC Capes Tilde SCielo NewsCommentary Global Voices Europarl JW300 WikiMatrix OpenSubtitles Training: probabilistic dictionaries Training: classifier model Cleaning: pre-filtering and classifying Subset (\#sentences) 3.5M 3.5M 1M 10M 1M 1M 50k 25k 100k 25k 2.2M 2.1M 4… [find](https://scholar.google.com/scholar?q=Bicleaner+Corpora+DGT+EuBookshop+JRC+Capes+Tilde+SCielo+NewsCommentary+Global+Voices+Europarl+JW300+WikiMatrix+OpenSubtitles+Training%3A+probabilistic+dictionaries+Training%3A+classifier+model+Cleaning%3A+p)
