Class Word
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
WordTextstringThe transcribed word text.
StartTimeintThe start time of the word in milliseconds from the beginning of the audio.
EndTimeintThe end time of the word in milliseconds from the beginning of the audio.
ConfidencedoubleThe 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
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
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
WordText
The transcribed word text.
[JsonProperty("word")]
[JsonPropertyName("word")]
public string WordText { get; init; }