public class Transcription
Independent, immutable recognition result. Language is a BCP 47 base code, or the empty string when no speech/language could be detected.
result = speech.transcribe(clip); print(result.text)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | languagelanguage as String |
Detected or explicitly selected language. |
| public readonly property | segmentssegments as ImmutableList<TranscriptionSegment> |
Audio-window/utterance intervals, not word alignments. |
| public readonly property | texttext as String |
Complete text, with one space between nonempty segments. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | TranscriptionTranscription(notnull language as String, notnull segments as IList<TranscriptionSegment>) |
Copies the segment catalogue; segment values themselves are immutable. |