Skip to content

GladiaTranscriptionSegment

Namespace: Vercel.AI.Gladia

public sealed class GladiaTranscriptionSegment

One Gladia utterance mapped to a segment.

Inheritance: object

View source

GladiaTranscriptionSegment(string, double, double)

Section titled “GladiaTranscriptionSegment(string, double, double)”
public GladiaTranscriptionSegment(string text, double startSecond, double endSecond)

Creates a segment.

Parameters

Name Type Description
text string
startSecond double
endSecond double

View source

public double EndSecond { get; }

End time in seconds.

Value: double

View source

public double StartSecond { get; }

Start time in seconds.

Value: double

View source

public string Text { get; }

Utterance text.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product