class Aws::Comprehend::Types::DominantLanguage

Returns the code for the dominant language in the input text and the level of confidence that Amazon Comprehend has in the accuracy of the detection.

@!attribute [rw] language_code

The RFC 5646 language code for the dominant language. For more
information about RFC 5646, see [Tags for Identifying Languages][1]
on the *IETF Tools* web site.

[1]: https://tools.ietf.org/html/rfc5646
@return [String]

@!attribute [rw] score

The level of confidence that Amazon Comprehend has in the accuracy
of the detection.
@return [Float]

@see docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DominantLanguage AWS API Documentation

Constants

SENSITIVE