Skip to content

Transcribe Streaming  >  Structures  >  LanguageWithScore

LanguageWithScore

Structure Class

LanguageWithScore dataclass

The language code that represents the language identified in your audio, including the associated confidence score. If you enabled channel identification in your request and each channel contained a different language, you will have more than one LanguageWithScore result.

Attributes

language_code class-attribute instance-attribute
language_code: LanguageCode | None = None

The language code of the identified language.

score class-attribute instance-attribute
score: float = 0

The confidence score associated with the identified language code. Confidence scores are values between zero and one; larger values indicate a higher confidence in the identified language.