New.annotations: Create new dummy annotation

Description Usage Arguments Examples

View source: R/new_annotation.R

Description

Use a real annotation to create a dummy annotation with degraded ratings and directly add info to the ChildRecordings class

Usage

1
2
3
4
5
6
7
New.annotations(
  row.meta,
  ChildRecordings,
  time.sd = NULL,
  change.cat.prob = NULL,
  new.name = NULL
)

Arguments

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

Examples

 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)

LAAC-LSCP/ChildRecordsR documentation built on July 26, 2021, 3:25 p.m.