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)


1861
1862
1863
1864
1865
1866
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 1861

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)


1861
1862
1863
1864
1865
1866
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 1861

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