powered by
Takes an annotation object and returns an annotation object containing only a subset of the documents.
cnlp_extract_documents(anno, ids)
the object to extract from
a vector of document ids from which to extract
a new annotation object
# NOT RUN { annotation <- extract_documents(anno, ids = c(0, 1, 2, 3)) # } # NOT RUN { # }
Run the code above in your browser using DataLab