You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Comprehend::Types::DetectDominantLanguageResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#languagesArray<Types::DominantLanguage>

The languages that Amazon Comprehend detected in the input text. For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.

Returns:



374
375
376
377
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 374

class DetectDominantLanguageResponse < Struct.new(
  :languages)
  include Aws::Structure
end