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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-translate/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 operation in the Amazon Comprehend Developer Guide.

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 'gems/aws-sdk-translate/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 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 224

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