Class DetectedLanguage (2.4.1)

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 http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
confidence float
Confidence of detected language. Range [0, 1].