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

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.

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)


31
32
33
34
35
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 31

class AppliedTerminology < Struct.new(
  :name,
  :terms)
  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:



31
32
33
34
35
# File 'gems/aws-sdk-translate/lib/aws-sdk-translate/types.rb', line 31

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