create_plain_text_annotations {textAnnotatoR} | R Documentation |
Create plain text version of annotations
Description
Converts annotated text to plain text format with code markers. Each annotation is represented as a code identifier and annotated text wrapped in square brackets. Multiple annotations are preserved and shown in order of appearance in the text.
Converts annotated text to plain text format with code markers. Each annotation is represented as a code identifier and annotated text wrapped in square brackets. Multiple annotations are preserved and shown in order of appearance in the text.
Usage
create_plain_text_annotations(text, annotations)
create_plain_text_annotations(text, annotations)
Arguments
text |
Character string containing the original text |
annotations |
Data frame of annotations with columns:
|
Value
Character string containing formatted text with code markers
Character string containing formatted text with code markers