Description Usage Arguments Details Value Examples
View source: R/aggregate_rating.R
Base on the result of an find.ratting.segment return or similar data.frame the function will extract data from annotation file in a raterData Class
1 2 3 4 5 6 7 8 9 |
data |
: find.ratting.segment return or similar data.frame |
ChildRecordings |
: a ChildRecordings class |
cut |
: time size in millisecond for the unit segment |
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 |
the data will be organize un raw annotation format and a long segmented format
A raterData class containing with original format and long format for every annotators.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
library(ChildRecordsR)
path = "/mnt/94707AA4707A8CAC/CNRS/corpus/vandam-daylong-demo"
CR = ChildRecordings(path)
# if no time windows is specified, this function will only return at table for all the know raters
# All the rater need to ratter any segment find
search = find.rating.segment(CR, "BN32_010007.mp3")
rez = aggregate.rating(search, CR, cut=100, verbose=T, use_data_table = TRUE, threads = 2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.