Class DetectedLanguage (0.5.1)

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

Detected language for a structural component. .. attribute:: language_code

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.

:type: str

Attribute

NameDescription
confidence float
Confidence of detected language. Range [0, 1].

Inheritance

builtins.object > proto.message.Message > DetectedLanguage