Learn R Programming

cleanNLP (version 2.3.0)

cnlp_combine_documents: Combine a set of annotations

Description

Takes an arbitrary set of annotations and efficiently combines them into a single object. All document ids are reset so that they are contiguous integers starting at zero.

Usage

cnlp_combine_documents(...)

Arguments

...

annotation objects to combine; either a single list item or all of the objects as individual inputs

Value

a single annotation object containing all of the input documents

Examples

Run this code
# NOT RUN {
annotation <- combine_annotators(anno01, anno02, anno03)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab