Learn R Programming

cleanNLP (version 2.3.0)

cnlp_write_csv: 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

cnlp_write_csv(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 DataLab