Journal article Open Access

Ochre, a Toolbox for OCR Post-Correction

Zwaan, Janneke van der; Wilms, Lotte

DataCite XML Export

<?xml version='1.0' encoding='utf-8'?>
<resource xmlns:xsi="" xmlns="" xsi:schemaLocation="">
  <identifier identifierType="DOI">10.5281/zenodo.1189245</identifier>
      <creatorName>Zwaan, Janneke van der</creatorName>
      <givenName>Janneke van der</givenName>
      <nameIdentifier nameIdentifierScheme="ORCID" schemeURI="">0000-0002-8329-7000</nameIdentifier>
      <affiliation>eScience Center</affiliation>
      <creatorName>Wilms, Lotte</creatorName>
      <nameIdentifier nameIdentifierScheme="ORCID" schemeURI="">0000-0001-5510-6003</nameIdentifier>
      <affiliation>KB | National Library</affiliation>
    <title>Ochre, a Toolbox for OCR Post-Correction</title>
    <subject>Digital Scholarship</subject>
    <subject>Machine learning</subject>
    <date dateType="Issued">2018-03-06</date>
  <resourceType resourceTypeGeneral="Text">Journal article</resourceType>
    <alternateIdentifier alternateIdentifierType="url"></alternateIdentifier>
    <relatedIdentifier relatedIdentifierType="DOI" relationType="IsVersionOf">10.5281/zenodo.1189244</relatedIdentifier>
    <relatedIdentifier relatedIdentifierType="URL" relationType="IsPartOf"></relatedIdentifier>
    <rights rightsURI="">Creative Commons Attribution 4.0 International</rights>
    <rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights>
    <description descriptionType="Abstract">&lt;p&gt;One of the major challenges of using historical document collections for research is the fact that Optical Character Recognition (OCR) on these documents is far from perfect. One way the quality of OCR text can be improved is by applying OCR post-correction. OCR post-correction involves manipulating the (textual) output of the OCR process. Existing approaches for OCR post-correction generally make use of extensive dictionaries to replace words in the OCR text that do not occur in the dictionary with words that do. The main problem with these existing approaches is that they do not take into account the context in which words occur. By training character based language models using long short term memory networks, this context can be taken into account. The poster presents ochre, an open source software package for training character-based language models that can be used for OCR post-correction 1 . Ochre is based on Python deep learning library Keras 2 and uses common workflow language (CWL) 3 to ensure reproducibility and enable reuse. The first results of using LSTMs to correct OCR errors in the VU DNC corpus 4 are promising; the average character error rate per newspaper article drops from 3.72% to 1.34% using sequence to sequence, a neural network architecture that is also used for machine translation. In addition to functionality for training LSTMs, ochre provides an overview of OCR post-correction data sets, and tools and workflows to preprocess these datasets, do post-correction, assess the performance of the OCR post-correction, and analyze the types of errors that are corrected.&lt;/p&gt;</description>
All versions This version
Views 362362
Downloads 255255
Data volume 80.2 MB80.2 MB
Unique views 348348
Unique downloads 231231


Cite as