Class: Aws::Comprehend::Types::ToxicLabels
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::ToxicLabels
- Defined in:
- gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb
Overview
Toxicity 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
-
#labels ⇒ Array<Types::ToxicContent>
Array of toxic content types identified in the string.
-
#toxicity ⇒ Float
Overall toxicity score for the string.
Instance Attribute Details
#labels ⇒ Array<Types::ToxicContent>
Array of toxic content types identified in the string.
8713 8714 8715 8716 8717 8718 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 8713 class ToxicLabels < Struct.new( :labels, :toxicity) SENSITIVE = [] include Aws::Structure end |
#toxicity ⇒ Float
Overall toxicity score for the string. Value range is zero to one, where one is the highest confidence.
8713 8714 8715 8716 8717 8718 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 8713 class ToxicLabels < Struct.new( :labels, :toxicity) SENSITIVE = [] include Aws::Structure end |