extract_documents

0th

Percentile

Extract documents from an annotation object

Takes an annotation object and returns an annotation object containing only a subset of the documents.

Usage
extract_documents(annotation, ids)
Arguments
annotation

the object to extract from

ids

a vector of integer ids from which to extract

Value

a new annotation object

Aliases
  • extract_documents
Examples
# NOT RUN {
annotation <- extract_documents(anno, ids = c(0, 1, 2, 3))
# }
# NOT RUN {
# }
Documentation reproduced from package cleanNLP, version 1.10.0, License: LGPL-2

Community examples

Looks like there are no examples yet.