Table of Contents

Class DiarizationResult<T>

Namespace
AiDotNet.Interfaces
Assembly
AiDotNet.dll

Result of speaker diarization.

public class DiarizationResult<T>

Type Parameters

T

The numeric type used for calculations.

Inheritance
DiarizationResult<T>
Inherited Members

Properties

Duration

Gets the audio duration in seconds (alias for TotalDuration for legacy API compatibility).

public double Duration { get; }

Property Value

double

NumSpeakers

Gets or sets the number of unique speakers detected.

public int NumSpeakers { get; set; }

Property Value

int

OverlapRegions

Gets or sets overlapping speech regions (if detected).

public IReadOnlyList<OverlapRegion<T>> OverlapRegions { get; set; }

Property Value

IReadOnlyList<OverlapRegion<T>>

Segments

Gets or sets the detected speaker segments.

public IReadOnlyList<SpeakerSegment<T>> Segments { get; set; }

Property Value

IReadOnlyList<SpeakerSegment<T>>

SpeakerLabels

Gets or sets the unique speaker labels.

public IReadOnlyList<string> SpeakerLabels { get; set; }

Property Value

IReadOnlyList<string>

SpeakerStats

Gets speaker statistics (speaking time, number of turns).

public IReadOnlyDictionary<string, SpeakerStatistics<T>> SpeakerStats { get; set; }

Property Value

IReadOnlyDictionary<string, SpeakerStatistics<T>>

TotalDuration

Gets or sets the total audio duration in seconds.

public double TotalDuration { get; set; }

Property Value

double

Turns

Gets the speaker turns (alias for Segments for legacy API compatibility).

public IReadOnlyList<SpeakerTurn<T>> Turns { get; }

Property Value

IReadOnlyList<SpeakerTurn<T>>