Class: Aws::Comprehend::Types::DocumentClass

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb

Overview

Specifies the class that categorizes the document being analyzed

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the class.

Returns:

  • (String)


1524
1525
1526
1527
1528
1529
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 1524

class DocumentClass < Struct.new(
  :name,
  :score)
  SENSITIVE = []
  include Aws::Structure
end

#scoreFloat

The confidence score that Amazon Comprehend has this class correctly attributed.

Returns:

  • (Float)


1524
1525
1526
1527
1528
1529
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 1524

class DocumentClass < Struct.new(
  :name,
  :score)
  SENSITIVE = []
  include Aws::Structure
end