Table of Contents

Class Transcript

Namespace
Vonage.Voice
Assembly
Vonage.dll

Represents a single transcript segment within a channel, containing the recognized sentence and word-level details.

public record Transcript : IEquatable<Transcript>
Inheritance
Transcript
Implements
Inherited Members

Constructors

Transcript(string, string, int, int, IReadOnlyList<Word>)

Represents a single transcript segment within a channel, containing the recognized sentence and word-level details.

public Transcript(string Sentence, string RawSentence, int Duration, int Timestamp, IReadOnlyList<Word> Words)

Parameters

Sentence string

The processed transcription sentence text.

RawSentence string

The raw, unprocessed transcription sentence text.

Duration int

The duration of the transcript segment in milliseconds.

Timestamp int

The start timestamp of the transcript segment in milliseconds from the beginning of the audio.

Words IReadOnlyList<Word>

The individual words in the transcript with timing and confidence information.

Properties

Duration

The duration of the transcript segment in milliseconds.

[JsonProperty("duration")]
[JsonPropertyName("duration")]
public int Duration { get; init; }

Property Value

int

RawSentence

The raw, unprocessed transcription sentence text.

[JsonProperty("raw_sentence")]
[JsonPropertyName("raw_sentence")]
public string RawSentence { get; init; }

Property Value

string

Sentence

The processed transcription sentence text.

[JsonProperty("sentence")]
[JsonPropertyName("sentence")]
public string Sentence { get; init; }

Property Value

string

Timestamp

The start timestamp of the transcript segment in milliseconds from the beginning of the audio.

[JsonProperty("timestamp")]
[JsonPropertyName("timestamp")]
public int Timestamp { get; init; }

Property Value

int

Words

The individual words in the transcript with timing and confidence information.

[JsonProperty("words")]
[JsonPropertyName("words")]
public IReadOnlyList<Word> Words { get; init; }

Property Value

IReadOnlyList<Word>