doc_id_reset

0th

Percentile

Reset document ids

Given an annotation object, this function changes all of the document ids so that they are all contiguous integers, starting at the parameter start_id.

Usage
doc_id_reset(annotation, start_id = 1L)
Arguments
annotation

annotation object to reset the IDs of

start_id

the starting document id. Defaults to 0.

Value

an annotation object with document ids updated across all tables.

Aliases
  • doc_id_reset
Examples
# NOT RUN {
doc_id_reset(annotation, 10)
# }
# NOT RUN {
# }
Documentation reproduced from package cleanNLP, version 1.10.0, License: LGPL-2

Community examples

Looks like there are no examples yet.