Class: Aws::Translate::Types::AppliedTerminology
- Inherits:
-
Struct
- Object
- Struct
- Aws::Translate::Types::AppliedTerminology
- 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
-
#name ⇒ String
The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.
-
#terms ⇒ Array<Types::Term>
The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response.
Instance Attribute Details
#name ⇒ String
The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.
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 |
#terms ⇒ Array<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.
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 |