| probs_to_segments | R Documentation |
Thresholds per-frame speaker probabilities and returns one row per contiguous run of activity. Overlapping speech gives overlapping segments.
probs_to_segments(probs, threshold = 0.5, frame_duration = 0.01)
probs |
Numeric matrix, frames x speakers, of speaker activity
probabilities (one frame per 10 ms), as returned by
|
threshold |
Probability above which a frame counts as speech. |
frame_duration |
Seconds per frame. |
A data frame with columns start and end (seconds)
and speaker (integer, numbered from 1 in order of first
arrival), sorted by start time then speaker.
p <- matrix(0, 300, 8)
p[1:120, 1] <- 0.9
p[100:300, 2] <- 0.8
probs_to_segments(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.