Description Usage Arguments Examples
View source: R/new_annotation.R
Use a real annotation to create a dummy annotation with degraded ratings and directly add info to the ChildRecordings class
1 2 3 4 5 6 7 | New.annotations(
row.meta,
ChildRecordings,
time.sd = NULL,
change.cat.prob = NULL,
new.name = NULL
)
|
row.meta |
: a row meta from ChildRecordings$all.meta to transform into dummy annotation |
ChildRecordings |
: a ChildRecordings class |
time.sd |
: a time deviation in millisecond to apply to the segments on using a normal law |
change.cat.prob |
: The probability of a change in speaker_type |
new.name |
: a string containing a new annotator name |
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)
CR$all.meta
New.annotations(row.meta = CR$all.meta[2,], ChildRecordings = CR, time.sd = 1500,
change.cat.prob = 0.10, new.name = "vtc_BAD")
CR$all.meta
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.