You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Comprehend::Types::DominantLanguage
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::Comprehend::Types::DominantLanguage
 
- Defined in:
- (unknown)
Overview
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.
Instance Attribute Summary collapse
- 
  
    
      #language_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The RFC 5646 language code for the dominant language. 
- 
  
    
      #score  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The level of confidence that Amazon Comprehend has in the accuracy of the detection. 
Instance Attribute Details
#language_code ⇒ String
The RFC 5646 language code for the dominant language. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
#score ⇒ Float
The level of confidence that Amazon Comprehend has in the accuracy of the detection.