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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DetectDominantLanguageRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  text: "CustomerInputString", # 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)

    A UTF-8 text string.