

# DominantLanguage
<a name="API_DominantLanguage"></a>

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.

## Contents
<a name="API_DominantLanguage_Contents"></a>

 ** LanguageCode **   <a name="comprehend-Type-DominantLanguage-LanguageCode"></a>
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.  
Type: String  
Length Constraints: Minimum length of 1.  
Required: No

 ** Score **   <a name="comprehend-Type-DominantLanguage-Score"></a>
The level of confidence that Amazon Comprehend has in the accuracy of the detection.  
Type: Float  
Required: No

## See Also
<a name="API_DominantLanguage_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/comprehend-2017-11-27/DominantLanguage) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/comprehend-2017-11-27/DominantLanguage) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/comprehend-2017-11-27/DominantLanguage) 