get_lena_speaker_stats: Calculate per-speaker statistics based on the .its file

View source: R/lena.R

get_lena_speaker_statsR Documentation

Calculate per-speaker statistics based on the .its file

Description

Calculate per-speaker statistics based on the .its file

Usage

get_lena_speaker_stats(its_xml, intervals)

Arguments

its_xml

XML object created by rlena::read_its_file.

intervals

A tibble with columns interval_start, interval_end, interval_start_wav, and recording_id as output by prepare_intervals. Can contain other columns.

Value

a tibble with the following columns:

  • interval_start, interval_end: same as in the intervals input tibble,

  • adult_word_count: non-zero for MAN and FAN only

  • utterance_count: for CH* - the sum of childUttCnt, for everyone else - the number of conversation segments


BergelsonLab/blabr documentation built on April 19, 2024, 7:21 p.m.