Transcription
classin packageklyn.genai.stt
public class Transcription
Transcription

Independent, immutable recognition result. Language is a BCP 47 base code, or the empty string when no speech/language could be detected.

Example

result = speech.transcribe(clip); print(result.text)

Properties
Modifier and Type Member Description
public readonly property language
language as String
Detected or explicitly selected language.
public readonly property segments Audio-window/utterance intervals, not word alignments.
public readonly property text
text as String
Complete text, with one space between nonempty segments.
Constructors
Modifier and Type Member Description
public Transcription
Transcription(notnull language as String, notnull segments as IList<TranscriptionSegment>)
Copies the segment catalogue; segment values themselves are immutable.