Class: Aws::Translate::Types::AppliedTerminology

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

Overview

The custom terminology applied to the input text by Amazon Translate for the translated text response. This is optional in the response and will only be present if you specified terminology input in the request. Currently, only one terminology can be applied per TranslateText request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.

Returns:

  • (String)


33
34
35
36
37
38
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 33

class AppliedTerminology < Struct.new(
  :name,
  :terms)
  SENSITIVE = []
  include Aws::Structure
end

#termsArray<Types::Term>

The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response. A maximum of 250 terms will be returned, and the specific terms applied will be the first 250 terms in the source text.

Returns:



33
34
35
36
37
38
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 33

class AppliedTerminology < Struct.new(
  :name,
  :terms)
  SENSITIVE = []
  include Aws::Structure
end