prep_annotations: Prepare annotations for imagemagick

View source: R/prep_annotations.R

prep_annotationsR Documentation

Prepare annotations for imagemagick

Description

Take the corrected text and the tokenized df with locations, and find where to put what kind of annotation Gives a warning when row counts do not quite match up (off-by-one or more errors are present)

Usage

prep_annotations(annotated_text, digital_text_df)

Arguments

annotated_text

output of 'annotate_text'

digital_text_df

output of 'gcv_reorder_text' or 'poppler_reorder_text'

Value

data.frame with annotation data


antdurrant/gec.annotation documentation built on July 19, 2023, 5:13 a.m.