Class TranscriptWord
- Namespace
- AssemblyAI.Transcripts
- Assembly
- AssemblyAI.dll
public record TranscriptWord : IEquatable<TranscriptWord>
- Inheritance
-
TranscriptWord
- Implements
- Inherited Members
Properties
Channel
The channel of the word. The left and right channels are channels 1 and 2. Additional channels increment the channel number sequentially.
[JsonPropertyName("channel")]
public string? Channel { get; set; }
Property Value
Confidence
The confidence score for the transcript of this word
[JsonPropertyName("confidence")]
public required double Confidence { get; set; }
Property Value
End
The ending time, in milliseconds, for the word
[JsonPropertyName("end")]
public required int End { get; set; }
Property Value
Speaker
The speaker of the word if Speaker Diarization is enabled, else null
[JsonPropertyName("speaker")]
public string? Speaker { get; set; }
Property Value
Start
The starting time, in milliseconds, for the word
[JsonPropertyName("start")]
public required int Start { get; set; }
Property Value
Text
The text of the word
[JsonPropertyName("text")]
public required string Text { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.