Class: Aws::Comprehend::Types::ToxicContent
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::ToxicContent
- Includes:
- Structure
- Defined in:
- 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*
[1]: docs.aws.amazon.com/comprehend/latest/dg/toxicity-detection.html
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 '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 'lib/aws-sdk-comprehend/types.rb', line 8687 class ToxicContent < Struct.new( :name, :score) SENSITIVE = [] include Aws::Structure end |