Class DiarizationResult<T>
- Namespace
- AiDotNet.Interfaces
- Assembly
- AiDotNet.dll
Result of speaker diarization.
public class DiarizationResult<T>
Type Parameters
TThe 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
NumSpeakers
Gets or sets the number of unique speakers detected.
public int NumSpeakers { get; set; }
Property Value
OverlapRegions
Gets or sets overlapping speech regions (if detected).
public IReadOnlyList<OverlapRegion<T>> OverlapRegions { get; set; }
Property Value
Segments
Gets or sets the detected speaker segments.
public IReadOnlyList<SpeakerSegment<T>> Segments { get; set; }
Property Value
SpeakerLabels
Gets or sets the unique speaker labels.
public IReadOnlyList<string> SpeakerLabels { get; set; }
Property Value
SpeakerStats
Gets speaker statistics (speaking time, number of turns).
public IReadOnlyDictionary<string, SpeakerStatistics<T>> SpeakerStats { get; set; }
Property Value
TotalDuration
Gets or sets the total audio duration in seconds.
public double TotalDuration { get; set; }
Property Value
Turns
Gets the speaker turns (alias for Segments for legacy API compatibility).
public IReadOnlyList<SpeakerTurn<T>> Turns { get; }