Class: Aws::Translate::Types::DetectedLanguageLowConfidenceException

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

Overview

The confidence that Amazon Comprehend accurately detected the source language is low. If a low confidence level is acceptable for your application, you can use the language in the exception to call Amazon Translate again. For more information, see the

DetectDominantLanguage][1

operation in the *Amazon Comprehend

Developer Guide*.

[1]: docs.aws.amazon.com/comprehend/latest/dg/API_DetectDominantLanguage.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#detected_language_codeString

The language code of the auto-detected language from Amazon Comprehend.

Returns:

  • (String)


224
225
226
227
228
229
# File 'lib/aws-sdk-translate/types.rb', line 224

class DetectedLanguageLowConfidenceException < Struct.new(
  :message,
  :detected_language_code)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

Returns:

  • (String)


224
225
226
227
228
229
# File 'lib/aws-sdk-translate/types.rb', line 224

class DetectedLanguageLowConfidenceException < Struct.new(
  :message,
  :detected_language_code)
  SENSITIVE = []
  include Aws::Structure
end