Import all the files from a specific annotator

extractDataCR(
  set.type,
  ChildRecordings,
  LENA.OL = FALSE,
  verbose = TRUE,
  use_data_table = FALSE,
  threads = 1
)

Arguments

set.type

: a string containing th name of the annotator present in the "set" column meta

ChildRecordings

: a ChildRecordings class

LENA.OL

: add the LENA overlap method. The overlap method will correct onset and offset when speech overlap by removing part that overlap.

verbose

: if TRUE information will be printed out in the console

use_data_table

: use the data.table package to read the .csv annotation data (depending on the operating system and the number of threads used it can be 3 to 5 times faster than 'read.csv')

threads

the number of threads to run in parallel

Value

A class extractDataCR with a data.frame with all the aggregated data

Examples

if (FALSE) { library(ChildRecordsR) path = "/mnt/94707AA4707A8CAC/CNRS/corpus/vandam-daylong-demo" CR = ChildRecordings(path) rez = extractDataCR( "vtc", CR, verbose = T, use_data_table = T, threads = 2) head(rez$data) # With LENA overlap method rez = extractDataCR("vtc", CR, LENA.OL = T, verbose = T, use_data_table = T, threads = 2) }