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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#languagesArray<Types::DominantLanguage>

Array of languages that Amazon Comprehend detected in the input text. The array is sorted in descending order of the score (the dominant language is always the first element in the array).

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][1

on the *IETF Tools* web site.

[1]: tools.ietf.org/html/rfc5646

Returns:



2333
2334
2335
2336
2337
# File 'lib/aws-sdk-comprehend/types.rb', line 2333

class DetectDominantLanguageResponse < Struct.new(
  :languages)
  SENSITIVE = []
  include Aws::Structure
end