Class DetectedLanguage (3.15.4)

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

The response message for language detection.

Attributes

Name Description
language_code str
The ISO-639 language code of the source content in the request, detected automatically.
confidence float
The confidence of the detection result for this language.