DOI: 10.5281/zenodo.3515403
title: Dataset of ICDAR 2019 Competition on Post-OCR Text Correction

description: <strong>Corpus for the ICDAR2019 Competition on Post-OCR Text Correction (October 2019)</strong><br> Christophe Rigaud, Antoine Doucet, Mickael Coustaty, Jean-Philippe Moreux<br> http://l3i.univ-larochelle.fr/ICDAR2019PostOCR<br> ------------------------------------------------------------------------------- These are the supplementary materials for the ICDAR 2019 paper <em>ICDAR 2019 Competition on Post-OCR Text Correction</em> Please use the following citation: <pre><code>@inproceedings{rigaud2019pocr,</code> <code> </code><code>title="ICDAR 2019 Competition on Post-OCR Text Correction",</code> <code> </code><code>author={Rigaud, Christophe and Doucet, Antoine and Coustaty, Mickael and Moreux, Jean-Philippe},</code> <code> </code><code>year={2019},</code> <code> </code><code>booktitle={Proceedings of the 15th International Conference on Document Analysis and Recognition (2019)}</code> <code> </code><code>}</code></pre> <strong>Description</strong><br> The corpus accounts for 22M OCRed characters along with the corresponding Gold Standard (GS). The documents come from different digital collections available, among others, at the National Library of France (BnF) and the British Library (BL). The corresponding GS comes both from BnF's internal projects and external initiatives such as Europeana Newspapers, IMPACT, Project Gutenberg, Perseus and Wikisource. <strong>Repartition of the dataset</strong><br> - <em>ICDAR2019_Post_OCR_correction_training_18M.zip</em>: 80% of the full dataset, provided to train participants' methods.<br> - <em>ICDAR2019_Post_OCR_correction_evaluation_4M</em>: 20% of the full dataset used for the evaluation (with Gold Standard made publicly after the competition).<br> - <em>ICDAR2019_Post_OCR_correction_full_22M</em>: full dataset made publicly available after the competition. <strong>Special case for Finnish language</strong><br> Material from the National Library of Finland (<em>Finnish dataset FI &gt; FI1</em>) are not allowed to be re-shared on other website. Please follow these guidelines to get and format the data from the original website. 1. Go to https://digi.kansalliskirjasto.fi/opendata/submit?set_language=en;<br> 2. Download <em>OCR Ground Truth Pages (Finnish Fraktur) [v1](4.8GB)</em> from <em>Digitalia (2015-17)</em> package;<br> 3. Convert the Excel file "<em>~/metadata/nlf_ocr_gt_tescomb5_2017.xlsx</em>" as Comma Separated Format (.csv) by using <em>save as</em> function in a spreadsheet software (e.g. Excel, Calc) and copy it into "<em>FI/FI1/HOWTO_get_data/input/</em>";<br> 4. Go to "<em>FI/FI1/HOWTO_get_data/</em>" and run "<em>script_1.py</em>" to generate the <em>full</em> "<em>FI1</em>" dataset in "<em>output/full/</em>";<br> 4. Run "<em>script_2.py</em>" to split the "<em>output/full/</em>" dataset into "<em>output/training/</em>" and "<em>output/evaluation/</em>" sub sets.<br> At the end of the process, you should have a "<em>training</em>", "<em>evaluation</em>" and "<em>full</em>" folder with 1579528, 380817 and 1960345 characters respectively. <br> <strong>Licenses: free to use for non-commercial uses, according to sources in details</strong><br> - BG1: IMPACT - National Library of Bulgaria: CC BY NC ND<br> - CZ1: IMPACT - National Library of the Czech Republic: CC BY NC SA<br> - DE1: Front pages of Swiss newspaper NZZ: Creative Commons Attribution 4.0 International (https://zenodo.org/record/3333627)<br> - DE2: IMPACT - German National Library: CC BY NC ND<br> - DE3: GT4Hist-dta19 dataset: CC-BY-SA 4.0 (https://zenodo.org/record/1344132)<br> - DE4: GT4Hist - EarlyModernLatin: CC-BY-SA 4.0 (https://zenodo.org/record/1344132)<br> - DE5: GT4Hist - Kallimachos: CC-BY-SA 4.0 (https://zenodo.org/record/1344132)<br> - DE6: GT4Hist - RefCorpus-ENHG-Incunabula: CC-BY-SA 4.0 (https://zenodo.org/record/1344132)<br> - DE7: GT4Hist - RIDGES-Fraktur: CC-BY-SA 4.0 (https://zenodo.org/record/1344132)<br> - EN1: IMPACT - British Library: CC BY NC SA 3.0<br> - ES1: IMPACT - National Library of Spain: CC BY NC SA<br> - FI1: National Library of Finland: no re-sharing allowed, follow the above section to get the data. (https://digi.kansalliskirjasto.fi/opendata)<br> - FR1: HIMANIS Project: CC0 (https://www.himanis.org)<br> - FR2: IMPACT - National Library of France: CC BY NC SA 3.0<br> - FR3: RECEIPT dataset: CC0 (http://findit.univ-lr.fr)<br> - NL1: IMPACT - National library of the Netherlands: CC BY<br> - PL1: IMPACT - National Library of Poland: CC BY<br> - SL1: IMPACT - Slovak National Library: CC BY NC Text post-processing such as cleaning and alignment have been applied on the resources mentioned above, so that the Gold Standard and the OCRs provided are not necessarily identical to the originals. <br> <strong>Structure</strong><br> - **Content** [<em>./lang_type/sub_folder/#.txt</em>]<br> - "<em>[OCR_toInput] </em>" =&gt; Raw OCRed text to be de-noised.<br> - "<em>[OCR_aligned] </em>" =&gt; Aligned OCRed text.<br> - "<em>[ GS_aligned] </em>" =&gt; Aligned Gold Standard text. The aligned OCRed/GS texts are provided for training and test purposes. The alignment was made at the character level using "<em>@</em>" symbols. "<em>#</em>" symbols correspond to the absence of GS either related to alignment uncertainties or related to unreadable characters in the source document. For a better view of the alignment, make sure to disable the "word wrap" option in your text editor. The Error Rate and the quality of the alignment vary according to the nature and the state of degradation of the source documents. Periodicals (mostly historical newspapers) for example, due to their complex layout and their original fonts have been reported to be especially challenging. In addition, it should be mentioned that the quality of Gold Standard also varies as the dataset aggregates resources from different projects that have their own annotation procedure, and obviously contains some errors. <br> <strong>ICDAR2019 competition</strong><br> Information related to the tasks, formats and the evaluation metrics are details on :<br> https://sites.google.com/view/icdar2019-postcorrectionocr/evaluation <br> <strong>References</strong><br> - IMPACT, European Commission's 7th Framework Program, grant agreement 215064<br> - Uwe Springmann, Christian Reul, Stefanie Dipper, Johannes Baiter (2018). Ground Truth for training OCR engines on historical documents in German Fraktur and Early Modern Latin.<br> - https://digi.nationallibrary.fi , Wiipuri, 31.12.1904, Digital Collections of National Library of Finland<br> - EU Horizon 2020 research and innovation programme grant agreement No 770299 <br> <strong>Contact</strong><br> - christophe.rigaud(at)univ-lr.fr<br> - antoine.doucet(at)univ-lr.fr<br> - mickael.coustaty(at)univ-lr.fr<br> - jean-philippe.moreux(at)bnf.fr L3i - University of la Rochelle, http://l3i.univ-larochelle.fr<br> BnF - French National Library, http://www.bnf.fr
description: Corresponding paper: https://zenodo.org/record/3459116