Class: Aws::Comprehend::Types::DetectKeyPhrasesRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:text]

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.

Returns:

  • (String)


2509
2510
2511
2512
2513
2514
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2509

class DetectKeyPhrasesRequest < Struct.new(
  :text,
  :language_code)
  SENSITIVE = [:text]
  include Aws::Structure
end

#textString

A UTF-8 text string. The string must contain less than 100 KB of UTF-8 encoded characters.

Returns:

  • (String)


2509
2510
2511
2512
2513
2514
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2509

class DetectKeyPhrasesRequest < Struct.new(
  :text,
  :language_code)
  SENSITIVE = [:text]
  include Aws::Structure
end