Table of Contents

Class Word

Namespace
Vonage.Voice
Assembly
Vonage.dll

Represents a single word within a transcription, including timing and confidence information.

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

Constructors

Word(string, int, int, double)

Represents a single word within a transcription, including timing and confidence information.

public Word(string WordText, int StartTime, int EndTime, double Confidence)

Parameters

WordText string

The transcribed word text.

StartTime int

The start time of the word in milliseconds from the beginning of the audio.

EndTime int

The end time of the word in milliseconds from the beginning of the audio.

Confidence double

The confidence score for the transcribed word (0.0 to 1.0).

Properties

Confidence

The confidence score for the transcribed word (0.0 to 1.0).

[JsonProperty("confidence")]
[JsonPropertyName("confidence")]
public double Confidence { get; init; }

Property Value

double

EndTime

The end time of the word in milliseconds from the beginning of the audio.

[JsonProperty("end_time")]
[JsonPropertyName("end_time")]
public int EndTime { get; init; }

Property Value

int

StartTime

The start time of the word in milliseconds from the beginning of the audio.

[JsonProperty("start_time")]
[JsonPropertyName("start_time")]
public int StartTime { get; init; }

Property Value

int

WordText

The transcribed word text.

[JsonProperty("word")]
[JsonPropertyName("word")]
public string WordText { get; init; }

Property Value

string