Class: Aws::Comprehend::Types::ToxicContent
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::ToxicContent
- Defined in:
- gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb
Overview
Toxic content analysis result for one string. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the toxic content type.
-
#score ⇒ Float
Model confidence in the detected content type.
Instance Attribute Details
#name ⇒ String
The name of the toxic content type.
8687 8688 8689 8690 8691 8692 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 8687 class ToxicContent < Struct.new( :name, :score) SENSITIVE = [] include Aws::Structure end |
#score ⇒ Float
Model confidence in the detected content type. Value range is zero to one, where one is highest confidence.
8687 8688 8689 8690 8691 8692 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 8687 class ToxicContent < Struct.new( :name, :score) SENSITIVE = [] include Aws::Structure end |