Table of Contents

Class DiarizedTranscriptSegment

Namespace
VisioForge.Core.Types.X.AI
Assembly
VisioForge.Core.dll

A transcript segment labeled with the speaker who most overlaps it — the output of VisioForge.Core.Types.X.AI.DiarizedTranscriptBuilder merging a speech-to-text transcript with a diarization timeline.

public class DiarizedTranscriptSegment

Inheritance

Inherited Members

Constructors

DiarizedTranscriptSegment(TimeSpan, TimeSpan, string, int)

Initializes a new instance of the VisioForge.Core.Types.X.AI.DiarizedTranscriptSegment class.

public DiarizedTranscriptSegment(TimeSpan start, TimeSpan end, string text, int speakerId)

Parameters

start TimeSpan

The start time of the transcript segment.

end TimeSpan

The end time of the transcript segment.

text string

The recognized text.

speakerId int

The attributed speaker id, or -1 when no diarization turn overlaps the segment.

Properties

End

Gets the end time of the transcript segment.

public TimeSpan End { get; }

Property Value

TimeSpan

SpeakerId

Gets the attributed speaker id, or -1 when no diarization turn overlaps this segment.

public int SpeakerId { get; }

Property Value

int

Start

Gets the start time of the transcript segment.

public TimeSpan Start { get; }

Property Value

TimeSpan

Text

Gets the recognized text.

public string Text { get; }

Property Value

string

Methods

ToString()

Returns a readable representation of the labeled segment.

public override string ToString()

Returns

string

A string with the speaker label, time span, and text.