NAME

Paws::Comprehend::DominantLanguage

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Comprehend::DominantLanguage object:

$service_obj->Method(Att1 => { LanguageCode => $value, ..., Score => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Comprehend::DominantLanguage object:

$result = $service_obj->Method(...);
$result->Att1->LanguageCode

DESCRIPTION

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.

ATTRIBUTES

LanguageCode => Str

The RFC 5646 language code for the dominant language. For more information about RFC 5646, see Tags for Identifying Languages (https://tools.ietf.org/html/rfc5646) on the IETF Tools web site.

Score => Num

The level of confidence that Amazon Comprehend has in the accuracy of the detection.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Comprehend

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues