Description Usage Arguments Value Examples
View source: R/extractDataCR.R
Import all the files from a specific annotator
1 2 3 4 5 6 7 8 | extractDataCR(
set.type,
ChildRecordings,
LENA.OL = FALSE,
verbose = TRUE,
use_data_table = FALSE,
threads = 1
)
|
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 |
A class extractDataCR with a data.frame with all the aggregated data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
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)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.