Class DetectedLanguage

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

The response message for language detection.

Attributes

NameDescription
language_code str
The BCP-47 language code of source content in the request, detected automatically.
confidence float
The confidence of the detection result for this language.

Inheritance

builtins.object > proto.message.Message > DetectedLanguage