create_dirs: Create directories for 'ocrerrs'

Description Usage Value Examples

View source: R/utils.R

Description

ocrerrs package expects particular directories will exist if run in full. This creates those expected directories in the working directory.

GOLDs

Contains .txt and .rda of gold-standard text

SPLITs

Contains one subdir for each PDF, and subdirs contain one file per page of the PDF

IMGs

Contains one subdir for each PDF, and subdirs contain one .tif or .png per page of the PDF

TXTs

Contains one subdir for each PDF, and subdirs contain one .txt from OCR of each page of the PDF

BADs

Contains .txt of the PDF, from concatenating the files in TXTs/<pdfname>

RES

Contains results files from OCR error-finding

Usage

1

Value

None. Message printed.

Examples

1
# create_dirs()

jacob-ogre/ocrerrors documentation built on May 18, 2019, 8:01 a.m.