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

Class: Aws::Comprehend::Types::DetectDominantLanguageRequest

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

Overview

Note:

When making an API call, you may pass DetectDominantLanguageRequest data as a hash:

{
  text: "String", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#textString

A UTF-8 text string. Each string should contain at least 20 characters and must contain fewer that 5,000 bytes of UTF-8 encoded characters.

Returns:

  • (String)


552
553
554
555
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 552

class DetectDominantLanguageRequest < Struct.new(
  :text)
  include Aws::Structure
end