Class DetectedLanguage (2.1.0)

DetectedLanguage(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Detected language for a structural component.

Attributes

NameDescription
language_code str
The BCP-47 language code, such as en-US or sr-Latn. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
confidence float
Confidence of detected language. Range [0, 1].