Class DetectedLanguage (3.2.1)

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

The response message for language detection. .. attribute:: language_code

The BCP-47 language code of source content in the request, detected automatically.

:type: str

Attribute

NameDescription
confidence float
The confidence of the detection result for this language.