Class Transcript
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
SentencestringThe processed transcription sentence text.
RawSentencestringThe raw, unprocessed transcription sentence text.
DurationintThe duration of the transcript segment in milliseconds.
TimestampintThe start timestamp of the transcript segment in milliseconds from the beginning of the audio.
WordsIReadOnlyList<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
RawSentence
The raw, unprocessed transcription sentence text.
[JsonProperty("raw_sentence")]
[JsonPropertyName("raw_sentence")]
public string RawSentence { get; init; }
Property Value
Sentence
The processed transcription sentence text.
[JsonProperty("sentence")]
[JsonPropertyName("sentence")]
public string Sentence { get; init; }
Property Value
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
Words
The individual words in the transcript with timing and confidence information.
[JsonProperty("words")]
[JsonPropertyName("words")]
public IReadOnlyList<Word> Words { get; init; }