cleanNLP (version 1.10.0)

write_annotation: Write annotation files to disk

Description

Takes an annotation object and stores it as a set of files in a local directory. These are stored as plain-text csv files with column headers. To save as a compressed format, instead directly call the function saveRDS.

Usage

write_annotation(annotation, output_dir)

Arguments

annotation

annotation file being stored

output_dir

path to the directory where the files will be saved

Examples

Run this code
# NOT RUN {
write_annotation(annotation, "/path/to/annotation")
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace