Learn R Programming

cleanNLP (version 1.5.2)

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")
## ---------------------------------------------

Run the code above in your browser using DataLab